login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064025 Length of period of continued fraction for square root of n!. 2
1, 2, 2, 2, 4, 2, 16, 48, 8, 4, 56, 180, 44, 156, 300, 7936, 10388, 11516, 9104, 13469268, 2684084, 2418800, 28468692, 143007944, 85509116, 402570696, 2287868888, 204306960, 48715166536 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,2

LINKS

Table of n, a(n) for n=2..30.

FORMULA

a(n) = A003285(A000142(n)). - Michel Marcus, Sep 25 2019

EXAMPLE

Quotients for 10! are [[1904], [1, 15, 1, 13, 1, 15, 1, 3808]], so period length of 10! is 8.

MAPLE

with(numtheory): [seq(nops(cfrac(sqrt(k!), 'periodic', 'quotients')[2]), k=2..16)];

MATHEMATICA

Do[ Print[ Length[ Last[ ContinuedFraction[ Sqrt[ n! ]]]]], {n, 2, 24} ]

CROSSREFS

Cf. A000142, A003285.

Sequence in context: A135293 A216951 A320305 * A182154 A273875 A054709

Adjacent sequences:  A064022 A064023 A064024 * A064026 A064027 A064028

KEYWORD

nonn,more

AUTHOR

Labos Elemer, Sep 18 2001

EXTENSIONS

More terms from Robert G. Wilson v, Oct 01 2001

a(25)-a(28) from Daniel Suteu, Jan 24 2019

a(29) from Chai Wah Wu, Sep 23 2019

a(30) from Chai Wah Wu, Sep 25 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 13 12:45 EST 2019. Contains 329094 sequences. (Running on oeis4.)