login

Revision History for A059855

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Period of continued fraction for sqrt(n^2+4), n >= 1.
(history; published version)
#19 by OEIS Server at Wed Jul 10 02:57:23 EDT 2024
LINKS

Amiram Eldar, <a href="/A059855/b059855_1.txt">Table of n, a(n) for n = 1..10000</a>

#18 by Joerg Arndt at Wed Jul 10 02:57:23 EDT 2024
STATUS

reviewed

approved

Discussion
Wed Jul 10
02:57
OEIS Server: Installed first b-file as b059855.txt.
#17 by Michel Marcus at Wed Jul 10 01:23:32 EDT 2024
STATUS

proposed

reviewed

#16 by Amiram Eldar at Wed Jul 10 00:50:48 EDT 2024
STATUS

editing

proposed

#15 by Amiram Eldar at Wed Jul 10 00:44:42 EDT 2024
LINKS

Amiram Eldar, <a href="/A059855/b059855_1.txt">Table of n, a(n) for n = 1..10000</a>

STATUS

approved

editing

#14 by Susanna Cuyler at Sat May 01 06:48:51 EDT 2021
STATUS

proposed

approved

#13 by Jianing Song at Sat May 01 05:53:31 EDT 2021
STATUS

editing

proposed

#12 by Jianing Song at Sat May 01 05:53:06 EDT 2021
CROSSREFS
KEYWORD

nonn,easy,changed

#11 by Jianing Song at Sat May 01 05:48:06 EDT 2021
FORMULA

a(n) = 2 for even n, a(n) = 5 for odd n > 1.

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.

For even n, sqrt(n^2+4) = [n; n/2, 2*n], hence a(n) = 2.

For odd n > 1, sqrt(n^2+4) = [n; (n-1)/2, 1, 1, (n-1)/2, 2*n], hence a(n) = 5.

#10 by Jianing Song at Sat May 01 05:43:10 EDT 2021
NAME

Quotient cycle lengths in Period of continued fraction expansion of for sqrt(n^2+4), n >= 1.

COMMENTS

From Jianing Song, May 01 2021: (Start)

The old name was "Quotient cycle length of sqrt(n^2+4)."

Essentially the same as A010695 and A021400. (End)

FORMULA

a(n) = A003285(n^2+4). - Jianing Song, May 01 2021

CROSSREFS

Cf. A002496, A005574, A056899, A049423, A056903, A056905.

Cf. A003285.

Period of continued fraction for sqrt(n^2+k): A059853 (k=3), this sequence (k=4), A059854 (k=5).

STATUS

approved

editing