|
Search: id:A059855
|
|
|
| A059855 |
|
Quotient cycle lengths in continued fraction expansion of Sqrt(n^2+4). |
|
+0 1
|
|
| 1, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
FORMULA
|
with(numtheory): [seq(nops(cfrac(sqrt(k^2+4), 'periodic', 'quotients')[2]), k=1..100)];
|
|
EXAMPLE
|
For even numbers 2, for odds 5 is the length of cycles: n=96,97 the integer parts and cycles are: [96],[48,192]] and [97],[48, 1, 1, 48, 194] resp. Inside cycles Floor[n/2],1,1 and 2n arise.
|
|
CROSSREFS
|
A002496, A005574, A056899, A049423, A056903, A056905.
Sequence in context: A122581 A010695 A021400 this_sequence A082881 A104289 A087272
Adjacent sequences: A059852 A059853 A059854 this_sequence A059856 A059857 A059858
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Feb 27 2001
|
|
|
Search completed in 0.002 seconds
|