Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107356
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107356 Period of continued fraction for (1 + square root of n-th square-free integer)/2. +0
1
2, 2, 1, 4, 4, 2, 2, 1, 4, 2, 3, 6, 2, 6, 4, 2, 1, 2, 8, 4, 4, 2, 3, 6, 6, 5, 4, 10, 8, 4, 2, 1, 4, 6, 6, 6, 3, 4, 3, 6, 10, 4, 6, 8, 9, 6, 2, 4, 4, 2, 2, 1, 6, 2, 7, 8, 2, 12, 4, 9, 3, 6, 12, 6, 18, 6, 7, 4, 6, 7, 6, 6, 14, 4, 2, 2, 12, 10, 6, 6, 4, 10, 7, 4, 18, 4, 4, 2, 3, 6, 5, 20, 14, 8, 5, 12, 6, 10 (list; graph; listen)
OFFSET

1,1

REFERENCES

K. S. Williams and N. Buck, Comparison of the lengths of the continued fractions of sqrt(D) and 1+sqrt(D))/2, Proc. Amer. Math. Soc. 120 (1994) 995-1002.

LINKS

R. Knott, An Introduction to Continued Fractions

EXAMPLE

a(7)=2 because 11 is the 7-th smallest square-free integer and (1 + sqrt 11)/2 = [2,6,3,6,3,6,3,... ] thus has an eventual period of 2. We omit 1 from the list of square-free integers.

MATHEMATICA

(* first do *) Needs["NumberTheory`NumberTheoryFunctions`"] (* then *) s = Drop[ Select[ Range[162], SquareFreeQ[ # ] &], 1]; Length[ ContinuedFraction[ # ][[2]]] & /@ ((1 + Sqrt[s])/2) (from Robert G. Wilson v (rgwv(AT)rgwv.com), May 27 2005)

CROSSREFS

Cf. A035015, A005117.

Adjacent sequences: A107353 A107354 A107355 this_sequence A107357 A107358 A107359

Sequence in context: A110090 A092848 A128111 this_sequence A124725 A106522 A128175

KEYWORD

nonn

AUTHOR

S. R. Finch (Steven.Finch(AT)inria.fr), May 24 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), May 27 2005

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 October 8 07:38 EDT 2008. Contains 144667 sequences.


AT&T Labs Research