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

 

Logo


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
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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

LINKS

Table of n, a(n) for n=1..99.

EXAMPLE

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

MATHEMATICA

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

CROSSREFS

Sequence in context: A329900 A101261 A214057 * A341308 A113901 A062799

Adjacent sequences:  A067611 A067612 A067613 * A067615 A067616 A067617

KEYWORD

nonn

AUTHOR

Roger L. Bagula, Feb 01 2002

EXTENSIONS

Edited by Dean Hickerson, Feb 14 2002

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 April 18 03:14 EDT 2021. Contains 343072 sequences. (Running on oeis4.)