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!)
 A067614 floor(1/(sqrt(prime(n))-floor(sqrt(prime(n))))), where prime(n) is the n-th prime. 0

%I

%S 2,1,4,1,3,1,8,2,1,2,1,12,2,1,1,3,1,1,5,2,1,1,9,2,1,20,6,2,2,1,3,2,1,

%T 1,4,3,1,1,1,6,2,2,1,1,28,9,1,1,15,7,3,2,1,1,32,4,2,2,1,1,1,8,1,1,1,1,

%U 5,2,1,1,1,1,6,3,2,1,1,1,40,4,2,1,1,1,1,21,5,2,2,1,1,1,14,6,2,2,1,1,1

%N floor(1/(sqrt(prime(n))-floor(sqrt(prime(n))))), where prime(n) is the n-th prime.

%C a(n) is the second partial quotient in the simple continued fraction for sqrt(prime(n)).

%e For n=8, prime(n)=19, floor(sqrt(19))=4 and 1/(sqrt(19)-4) = 2.786..., so a(8)=2.

%t a[n_] := Floor[1/(Sqrt[Prime[n]]-Floor[Sqrt[Prime[n]]])]

%K nonn

%O 1,1

%A _Roger L. Bagula_, Feb 01 2002

%E Edited by _Dean Hickerson_, Feb 14 2002

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 June 15 12:29 EDT 2021. Contains 345048 sequences. (Running on oeis4.)