The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A064848 Period of continued fraction for sqrt(2)*n. 2
 1, 2, 2, 4, 1, 2, 4, 4, 10, 2, 10, 2, 5, 4, 8, 12, 2, 6, 14, 8, 8, 6, 16, 4, 13, 10, 26, 8, 1, 8, 24, 24, 6, 2, 2, 6, 15, 18, 16, 20, 4, 8, 30, 6, 10, 16, 28, 8, 36, 22, 2, 20, 19, 30, 10, 12, 14, 2, 14, 8, 25, 20, 4, 48, 13, 6, 54, 2, 32, 2, 52, 16, 30, 26, 40, 10, 6, 16, 20, 36, 78, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(n)=1 for n in A001653. - Robert Israel, Jul 10 2018 LINKS Robert Israel, Table of n, a(n) for n = 1..10000 MAPLE f:= n -> nops(numtheory:-cfrac(sqrt(2)*n, 'periodic', 'quotients')[2]): map(f, [\$1..1000]); # Robert Israel, Jul 10 2018 CROSSREFS Cf. A001653. Sequence in context: A317826 A317836 A214740 * A333335 A212791 A175001 Adjacent sequences:  A064845 A064846 A064847 * A064849 A064850 A064851 KEYWORD nonn AUTHOR R. K. Guy, Oct 26, 2001 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.

Last modified July 25 23:39 EDT 2021. Contains 346294 sequences. (Running on oeis4.)