[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login
A064925
Period of continued fraction for sqrt(21)*n.
1
6, 2, 4, 2, 6, 2, 26, 8, 8, 8, 6, 2, 26, 30, 8, 12, 34, 8, 10, 8, 30, 6, 10, 4, 42, 22, 36, 22, 12, 4, 26, 28, 4, 26, 60, 8, 8, 10, 38, 4, 78, 26, 22, 8, 20, 14, 80, 8, 202, 38, 34, 26, 32, 32, 2, 60, 14, 16, 116, 4, 98, 30, 86, 64, 60, 4, 42, 32, 10, 48, 42, 12, 158, 4, 34, 18, 52
OFFSET
1,1
LINKS
MAPLE
f:= n -> nops(numtheory:-cfrac(sqrt(21)*n, 'periodic', 'quotients')[2]):
map(f, [$1..100]); # Robert Israel, Sep 12 2024
MATHEMATICA
Table[Length[ContinuedFraction[n Sqrt[21]][[2]]], {n, 80}] (* Harvey P. Dale, Sep 12 2023 *)
CROSSREFS
Sequence in context: A198502 A244858 A354782 * A173273 A084945 A372551
KEYWORD
nonn
AUTHOR
R. K. Guy, Oct 26 2001
STATUS
approved