Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059855
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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: A151871 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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research