SU1474627A2 - Generator of sequential generalized fibonacci p-numbers under arbitrary conditions - Google Patents
Generator of sequential generalized fibonacci p-numbers under arbitrary conditions Download PDFInfo
- Publication number
- SU1474627A2 SU1474627A2 SU864139364A SU4139364A SU1474627A2 SU 1474627 A2 SU1474627 A2 SU 1474627A2 SU 864139364 A SU864139364 A SU 864139364A SU 4139364 A SU4139364 A SU 4139364A SU 1474627 A2 SU1474627 A2 SU 1474627A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- numbers
- output
- input
- generator
- counter
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при построении устройств контрол чисел, представленных в кодах Фибоначчи. Целью изобретени вл етс расширение области применени за счет выделени последовательности четных р=чисел Фибоначчи. Генератор содержит счетные чейки 1,1-1,3, кажда из которых содержит триггер 2, первый 3 и второй 4 элементы И, элемент И-НЕ 5 и реверсивный счетчик 6, регистры 7,1 и 7,3, сумматор 8, блок 9 управлени , коммутатор 10, информационные 11, дополнительные информационные 12 и установочный 13 входы генератора, информационные 14 и дополнительные информационные 15 выходы генератора,1 ил., 2 табл.The invention relates to computing and can be used to construct devices for controlling numbers represented in Fibonacci codes. The aim of the invention is to expand the scope of application by separating a sequence of even p = Fibonacci numbers. The generator contains counting cells 1.1-1.3, each of which contains trigger 2, first 3 and second 4 AND elements, AND-NE 5 element and reversing counter 6, registers 7.1 and 7.3, adder 8, block 9 controls, switch 10, informational 11, additional informational 12 and installation 13 inputs of the generator, informational 14, and additional informational 15 outputs of the generator, 1 dw., 2 tab.
Description
Изобретение относитс к вычислительной технике, может быть использовано при построении устройств конт рол чисел, представленных в кодах Фибоначчи, и вл етс усовершенствованием генератора по авт.св. № 662926,The invention relates to computing, can be used in the construction of devices for controlling numbers represented in Fibonacci codes, and is an improvement to the auth.t. No. 662926,
Целью изобретени вл етс расширение области применени за счет выделени последовательности четных р-чисел ФибоначчиоThe aim of the invention is to expand the scope of application by identifying a sequence of even p-Fibonaccio numbers.
На чертеже представлена функциональна схема генератора дл случа .The drawing shows the functional diagram of the generator for the case.
Генератор содержит счетные чейки 1.1-1.3, кажда из которых содержит триггер 2, первый и второй элементы И 3 и 4, элемент 5 и реверсивный счетчик 6, регистры 7.1- 7.3, сумматор 8, блок 9 управлени , коммутатор 10 и информационные 11, дополнительные информационные 12 и установочный 13 входы генератора, инэтом номер первого четного числа п0, 3, а число, на которое осуществл ют пересчет номера первого четного числа, равно трем Таким образом, имеем следующие четные числа р да 1 чисел Фибоначчи: 2,8,34,144 и т.д соответствующие номерам 3,6,9,12 и т.д. (3, , , иThe generator contains counting cells 1.1-1.3, each of which contains trigger 2, first and second elements 3 and 4, element 5 and reversing counter 6, registers 7.1–7.3, adder 8, control block 9, switch 10 and information 11, additional informational 12 and installation 13 inputs of the generator, the inet number of the first even number n0, 3, and the number by which the number of the first even number is recalculated is three. Thus, we have the following even numbers p and 1 Fibonacci numbers: 2,8,34,144 etc corresponding numbers 3,6,9,12 etc. (3,,, and
0 т.д.) (табл.1).0 etc.) (Table 1).
, , 2ри-1 7, При этом номера первых трех четных членов следующие: п., , n 7, а число на которое осуществл ют пересчет но15 меров первых трех четных чисел, равно семи. Таким образом, имеем следующие четные числа р да 2-чисел Фибоначчи: 2,4,6,28,,406,872,1278 и т.д. соответствующие номерам 4,6,7,11,13,,, 2ri-1 7, In this case, the numbers of the first three even terms are as follows: §,, n 7, and the number for which the recalculation of the numbers of the first three even numbers is seven. Thus, we have the following even p-numbers of 2-Fibonacci numbers: 2,4,6,28,, 406,872,1278, etc. corresponding numbers 4,6,7,11,13,
20 14,18,20,2) и т.д. (4,6,7; , , , , , и т.д.) (табл.1)о20 14,18,20,2) etc. (4,6,7;,,,,,, etc.) (Table 1)
, , 2р+1-1 15, При этом номера первых семи четных членов сле30,, 2p + 1-1 15; Moreover, the numbers of the first seven even-numbered members are 30
формационные 14 и дополнительные ин- 25 дующие: п 5, , поэ 10, , формационные 15 выходы генератора. , , . Таким обра- Генератор функционирует следующим образом.formational 14 and additional introductory ones: n 5,, poe 10,, formational 15 generator outputs. ,, Thus, the generator operates as follows.
В предлагаемом генераторе используетс закономерность чередовани четных и нечетных чисел последовательности . Номера четных чисел после довательности определ ютс на основа- „нии следующего выражени In the proposed generator, the regularity of alternation of even and odd numbers of a sequence is used. The numbers of even numbers of a sequence are determined on the basis of the following expression
n n0j + (2P+1 - 1) хК где n - номера первых 2. четных чисел последовательностиn n0j + (2P + 1 - 1) хК where n is the number of the first 2. even numbers of the sequence
(,2,0.o,2p-1);(, 2.0.o, 2p-1);
К - натуральное число.K is a natural number.
3535
П05P05
зом, имеем следующие четные числа р да 3-чисел Фибоначчи: 2,4,10,14,26, 36,50,250,476,1252 и т.д„, соответствующие номерам 5,7,10,11,13,14,15,20, 22,25,26,28,29,30 и т.д. (5,7,10,11, 3,14,15; , , 10+15 25, 11+15 26, 13+15 28, 14+15 29. 15+15 30 и т.д.).So, we have the following even p-numbers of 3-Fibonacci numbers: 2,4,10,14,26, 36,50,250,476,1252, etc., corresponding to the numbers 5,7,10,11,13,14,15, 20, 22,25,26,28,29,30 etc. (5,7,10,11, 3,14,15;,, 10 + 15 25, 11 + 15 26, 13 + 15 28, 14 + 15 29. 15 + 15 30, etc.).
Последовательности дл - 3 представлены в табл.КSequences for - 3 are presented in table.
Допустим, что , а . На основании рекуррентного соотношени (1) имегм последовательность 2-чисел Фибоначчи , приведенную в табл.2.Suppose that, a. On the basis of the recurrence relation (1), the sequence of 2 Fibonacci numbers given in Table 2.
По сним выделение четных чисел последовательности обобщенных чисел Фибоначчи , при , , , когда на основании рекуррентного соотношени We take the selection of even numbers of a sequence of generalized Fibonacci numbers, with,,, when, based on the recurrence relation
О при Oh when
(i) NO при i 0; (1) N04(i-l)+No4(i-l-p)(i) NO at i 0; (1) N04 (i-l) + No4 (i-l-p)
при i О, при Nft - начальное условие;when i О, when Nft is the initial condition;
р - произвольное натуральноеp - arbitrary natural
число;number;
Cp(i) - i-e число Фибоначчи, имеем три числовые последовательности , приведенные в табл„1. Дл простоты показаны последовательности с начальным условием, равным единице , что не измен ет сути излагаемого .Cp (i) is the i-e Fibonacci number, we have three numerical sequences given in Table 1. For simplicity, sequences are shown with an initial condition equal to one, which does not change the essence of the stated.
, 2Р -1 1, 2 - 3. При, 2P -1 1, 2 - 3. With
этом номер первого четного числа п0, 3, а число, на которое осуществл ют пересчет номера первого четного числа, равно трем Таким образом, имеем следующие четные числа р да 1 чисел Фибоначчи: 2,8,34,144 и т.д соответствующие номерам 3,6,9,12 и т.д. (3, , , иThis is the number of the first even number n0, 3, and the number to which the numbers of the first even number are recalculated is three. Thus, we have the following even numbers of the row 1 Fibonacci numbers: 2,8,34,144, etc. corresponding to the numbers 3, 6,9,12 etc. (3,,, and
0 т.д.) (табл.1).0 etc.) (Table 1).
, , 2ри-1 7, При этом номера первых трех четных членов следующие: п., , n 7, а число на которое осуществл ют пересчет номеров первых трех четных чисел, равно семи. Таким образом, имеем следующие четные числа р да 2-чисел Фибоначчи: 2,4,6,28,,406,872,1278 и т.д. соответствующие номерам 4,6,7,11,13,,, 2ri-1 7; In this case, the numbers of the first three even members are as follows: §,, n 7, and the number to which the numbers of the first three even numbers are recalculated is seven. Thus, we have the following even p-numbers of 2-Fibonacci numbers: 2,4,6,28,, 406,872,1278, etc. corresponding numbers 4,6,7,11,13,
0 14,18,20,2) и т.д. (4,6,7; , , , , , и т.д.) (табл.1)о0 14,18,20,2) etc. (4,6,7;,,,,,, etc.) (Table 1)
, , 2р+1-1 15, При этом номера первых семи четных членов сле0,, 2р + 1-1 15, In this case, the numbers of the first seven even-numbered members after
5 дующие: п 5, , поэ 10, , , , . Таким обра- 5 blowing: n 5,, poe 10,,,,. Thus
5five
00
5five
00
5five
П05P05
зом, имеем следующие четные числа р да 3-чисел Фибоначчи: 2,4,10,14,26, 36,50,250,476,1252 и т.д„, соответствующие номерам 5,7,10,11,13,14,15,20, 22,25,26,28,29,30 и т.д. (5,7,10,11, 3,14,15; , , 10+15 25, 11+15 26, 13+15 28, 14+15 29. 15+15 30 и т.д.).So, we have the following even p-numbers of 3-Fibonacci numbers: 2,4,10,14,26, 36,50,250,476,1252, etc., corresponding to the numbers 5,7,10,11,13,14,15, 20, 22,25,26,28,29,30 etc. (5,7,10,11, 3,14,15;,, 10 + 15 25, 11 + 15 26, 13 + 15 28, 14 + 15 29. 15 + 15 30, etc.).
Последовательности дл - 3 представлены в табл.КSequences for - 3 are presented in table.
Допустим, что , а . На основании рекуррентного соотношени (1) имегм последовательность 2-чисел Фибоначчи , приведенную в табл.2.Suppose that, a. On the basis of the recurrence relation (1), the sequence of 2 Fibonacci numbers given in Table 2.
В начальный момент по входу 1 Г в первый регистр 7.1 вводитс начальное условие - число . При этом остальные регистры 7.2 и 7.3 содержат нули, В каждый счетчик 6.1 - 6.3 по входам 12.1-12.3 устройства сигналом с входа 13 ввод тс величины, соответствующие номерам первых трех (2 - 1 3) четных членов последовательности . Так, в счетчик 6. вводитс число 4, в счетчик 6,2 - число 6, а в счетчик 6.3 - число 7. Одновременно сигнал по входу 13 приводит триггеры 2.1-2,3 в исходное нулевое состо ние по их R-входам. Тактовые сигналы с выхода блока 9 управлени поступают одновременно на первые входы всех элементов И 3 и 4. Так как триггеры 2,1-2.3 наход тс в нулевом состо нии, то сигнал Лог.1 с их инверсных выходов, поступающий на второй вход соответствующих элементов И 4, разрешает прохождение тактовых сигналов на вход обратного счета соответствующих им реверсивных счетчиков 6. Таким образом, реверсив- ные счетчики 1 в исходный момент наход тс в режиме вычитани ,At the initial time, at the input of 1 G, the initial condition, a number, is entered in the first register 7.1. At the same time, the remaining registers 7.2 and 7.3 contain zeros. The values corresponding to the numbers of the first three (2 - 1 3) even-numbered terms of the sequence are entered with the signal from input 13 at each counter 6.1 - 6.3 at inputs 12.1-12.3 of the device. So, the number 4 is entered into the counter 6., the number 6 is entered into the counter 6.2, the number 7 is counted at the counter 6.3. At the same time, the signal at input 13 triggers 2.1-2.3 triggers to the initial zero state via their R inputs. The clock signals from the output of the control unit 9 are received simultaneously at the first inputs of all elements AND 3 and 4. Since the flip-flops 2.1-2.3 are in the zero state, the signal from Log.1 from their inverse outputs arriving at the second input of the corresponding elements And 4, allows the passage of clock signals to the input of the reverse counting of the corresponding reversible counters 6. Thus, the reversible counters 1 are initially in the subtraction mode,
При поступлении тактовых сигналов содержимое реверсивных счетчиков 1 уменьшаетс на единицу. При этом в каждом такте производитс суммирование содержимого регистров 7.1 и 7.3, после чего результат суммировани принимаетс регистром 7.1, а содер- жимое регистра 7.1 переписываетс в регистр 7.2, предыдущее содержимое которого принимаетс регистром 7.3, Таким образом, в каждом такте на выходе регистра 7.1 (выходе 14) по вл ютс результаты суммировани в предыдущем такте, соответствующие очередному числу в последовательности обобщенных чисел Фибоначчи, согласно рекуррентному соотношению (1) (табл.2). Процесс уменьшени содержимого реверсивных счетчиков 6 происходит до их переполнени . Так как в реверсивный счетчик 6,1 было записано число 4, то он переполн етс первым. Сигнал переполнени этого счетчика (Лог.О) с его первого выхода переполнени поступает на первый вход элемента И-КЕ 5.1, и поэтому на выходе элемента И-НЕ 5.1 по вл етс сигнал Лог.1, Который поступает на управл ющий вход коммутатора 10, и число с выхода регистра 7.1, соответствующее номеру 4, поступает на выход 15 генератора. Как видно из табл.2, это число ц(4) 10 есть четное число. Таким образом, выдел етс первый четный член последовательности 2-чисел Фибоначчи, Одновременно сигнал переполнени ровер- сивного счетчика 6/1 поступает на S-вход триггера 2„1 и устанавливает его в единичное состо ниес Сигнал Лог.1 с его пр мого выхода поступает на второй вход элемента И 3.1 и после этого тактовые сигналы с выхода блока 9 управлени начинают поступать на вход пр мого счета реверсивного счетчика 6.1, который переходит в режим суммировани с,When the clock signals arrive, the contents of the reversible counters 1 are reduced by one. In this case, in each clock cycle the contents of registers 7.1 and 7.3 are summed up, after which the result of the summation is received by register 7.1, and the contents of register 7.1 are rewritten into register 7.2, the previous contents of which are received by register 7.3. Thus, in each clock cycle at the output of register 7.1 ( output 14), the results of the summation in the previous cycle, corresponding to the next number in the sequence of generalized Fibonacci numbers, appear according to the recurrence relation (1) (Table 2). The process of reducing the content of the reversible counters 6 occurs before they overflow. Since the number 4 was written to the reversing counter 6.1, it overflows first. The overflow signal of this counter (Log.O) from its first overflow output goes to the first input of the AND-KE 5.1 element, and therefore the output of the IE 5.1 element comes in the signal of Log.1, which is fed to the control input of the switch 10, and the number from the register output 7.1, corresponding to number 4, is fed to the output 15 of the generator. As can be seen from Table 2, this number q (4) 10 is an even number. Thus, the first even member of the 2-Fibonacci sequence is selected. At the same time, the overflow signal of the 6/1 rover counter enters the S-input of the 2 „1 trigger and sets it to the single state. Log.1 signal comes from its direct output to the second input of the element 3.1 and after this, the clock signals from the output of the control block 9 begin to arrive at the input of the direct count of the reversing counter 6.1, which goes into the summation mode with,
По переполнению реверсивного счетчика 6с 1 через каждый 1 7 тактовых сигналов сигнал с второго выхода переполнени поступает на второй вход элемента И-НЕ 5.1, и на выходе последнего по вл етс сигнал Лог.1 который разрешает прохождение на выход 15 устройства числа, по вившегос в данном такте на выходе регистра 7,1 Шестым тактовым сигналом переполн етс реверсивный счетчик 6.2„ Сигнал переполнени (Лог.О) с его первого выхода переполнени поступает на первый вход элемента И-НЕ 5.2. Сигнал Лог,1 с его выхода, поступа на управл ющий вход коммутатора 10, разрешает прохождение на выход 15 уст-т ройства числа, выработанного регистром 7,1 и соответствующего номеру 6„After the overflow counter 6c 1 overflows, after each 1 7 clock signals, the signal from the second overflow output goes to the second input of the AND-NOT 5.1 element, and the output of the last signal is the Log.1 signal that allows the output 15 of the device to pass This register output register 7,1 The sixth clock signal overflows the reversible counter 6.2 "Overflow signal (Log.O)" from its first overflow output enters the first input of the AND-HE element 5.2. The Log signal, 1 from its output, arriving at the control input of the switch 10, allows the output of the device 15 to pass a number developed by the register 7.1 and corresponding to the number 6 "
Как видно из табл.2, это число есть четное ср(6)20« Таким образом, выдел етс второй четный член после- доват.ельности 2-числа Фибоначчи Одновременно сигнал переполнени реверсивного счетчика 6.2 поступает на S-вход триггера 2.2 и устанавливает его в единичное состо ние. Сигнал Лог.1 с его пр мого выхода поступает на второй вход элемента И Зс2, и после этого тактовые сигналы начинают поступать на вход пр мого счета реверсивного счетчика 602, который переходит в режим суммировани . Реверсивный счетчик 6,2 в этом режиме также начинает суммирование тактовых сигналов блока 9 управлени As can be seen from Table 2, this number is an even cp (6) 20 ". Thus, the second even number of the Fibonacci 2-sequence sequence is singled out. At the same time, the overflow signal of the reversible counter 6.2 goes to the S-input of the trigger 2.2 and sets it to in a single state. The signal Log.1 from its direct output enters the second input of the element I Zc2, and after that the clock signals begin to arrive at the input of the direct account of the reversible counter 602, which goes into the summation mode. The reversible counter 6.2 in this mode also starts summing the clock signals of the control unit 9
По переполнению реверсивного счетчика 6.2, которое происходит через каждые 2 Pt1 - 1 7 тактовых сигналов сигнал с второго выхода переполнени поступает на второй вход элемента И-НЕ , а с его выхода - на управл ющий вход коммутатора 10, и разрешает прохождение очередного четного числа из последовательности, выработанного регистром 7.1 в данном такте . Таким образом, обеспечиваетс выделение четных членов последовательности обобщенных чисел Фибоначчи с номерами 6,13,20 и т.д. Как видно из Табл.2, этим номерам соответствуют следующие четные числа ср(6)20, Ц(13)300 и т.д.By overflowing the reversible counter 6.2, which occurs every 2 Pt1 - 1 7 clock signals, the signal from the second overflow output goes to the second input of the NAND element, and from its output to the control input of the switch 10, and allows the next even number from the sequence produced by the register 7.1 in this clock. Thus, the selection of even members of the sequence of generalized Fibonacci numbers with numbers 6,13,20, etc. is provided. As can be seen from Table 2, these numbers correspond to the following even numbers cf (6) 20, C (13) 300, etc.
В седьмом такте переполн етс реверсивный счетчик 6.3 и сигнал переполнени с его первого выхода переполнени поступает на первый входIn the seventh cycle, the reversible counter 6.3 overflows and the overflow signal from its first overflow output goes to the first input.
элемента И-НЕ 5.3. Сигнал Лог. его выхода поступает на управл ющий вход коммутатора 10, тем самым разрешает прохождение очередного четного числа последовательности обобщенных 2-чисел Фибоначчи на выход 15 генератора , номер которого соответствует данному седьмому такту. Как видно из табл,2, это число q(7)30 есть четное число. Таким образом, выдел етс третье, т.е. четное (2 -1) число последовательности обобщенных 2-чисел Фибоначчи, Одновременно сигнал передимость , может быть введено новое начальное условие по входу 12 дл формировани и выделени четных чисел следующей последовательности обобщенных 2-чисел Фибоначчи.element AND NOT 5.3. Signal Log. its output enters the control input of the switch 10, thereby allowing the passage of the next even number of a sequence of generalized 2 Fibonacci numbers to the output 15 of the generator, whose number corresponds to this seventh cycle. As can be seen from Table 2, this number q (7) 30 is an even number. Thus, the third is highlighted, i.e. even (2 -1) number of the sequence of generalized 2 Fibonacci numbers. Simultaneously, the redirection signal can be entered into a new initial condition on input 12 to form and extract even numbers of the following sequence of generalized 2 Fibonacci numbers.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864139364A SU1474627A2 (en) | 1986-10-09 | 1986-10-09 | Generator of sequential generalized fibonacci p-numbers under arbitrary conditions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864139364A SU1474627A2 (en) | 1986-10-09 | 1986-10-09 | Generator of sequential generalized fibonacci p-numbers under arbitrary conditions |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU662926 Addition |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1474627A2 true SU1474627A2 (en) | 1989-04-23 |
Family
ID=21264567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864139364A SU1474627A2 (en) | 1986-10-09 | 1986-10-09 | Generator of sequential generalized fibonacci p-numbers under arbitrary conditions |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1474627A2 (en) |
-
1986
- 1986-10-09 SU SU864139364A patent/SU1474627A2/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 662926, кл. G 06 F 1/02, 1976. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1474627A2 (en) | Generator of sequential generalized fibonacci p-numbers under arbitrary conditions | |
SU732892A1 (en) | Stochastic functional converter | |
SU1325462A1 (en) | Device for sorting binary numbers | |
SU602936A1 (en) | Code-to-pulse number converter | |
SU1488842A1 (en) | Random signal mean value computer | |
SU386402A1 (en) | AUTOMATIC CONTINUOUS DIVIDER OF PERIODS OF PULSE SIGNAL SEARCHING | |
SU739532A1 (en) | Device for computing difference between two n-bit numbers | |
SU1714590A1 (en) | Device for adding numbers with variable base of number system | |
SU760107A1 (en) | Combination scanning device | |
SU1030797A1 (en) | Device for sorting mn-digit numbers | |
SU826339A1 (en) | Number sorting device | |
SU913359A1 (en) | Interface | |
SU1166105A1 (en) | Device for calculating value of sum of two squared values in unit-counting code | |
RU1781680C (en) | Device for sorting of numbers | |
SU530466A1 (en) | Pulse counting counter | |
SU1298732A1 (en) | Information input device | |
SU1485241A1 (en) | Multichannel priority service unit | |
SU416664A1 (en) | ||
SU446054A1 (en) | Device for converting binary numbers | |
SU1541608A1 (en) | Device for restarting computing unit upon failure detection | |
SU1569844A1 (en) | Device for optimizing work of parallel processes | |
SU1462291A1 (en) | Device for determining extreme values of number sequences | |
SU1167600A1 (en) | Device for converting residual class system code to decimal code | |
SU651339A1 (en) | Maximum number determining arrangement | |
SU754405A1 (en) | Decimal -to-binary code converter |