(Translated by https://www.hiragana.jp/)
A107898 - OEIS
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107898 Length of continued fraction for n/prime(n). 6
2, 3, 4, 4, 3, 3, 4, 5, 5, 4, 5, 3, 4, 3, 4, 4, 4, 6, 5, 6, 4, 6, 7, 6, 5, 6, 6, 7, 5, 6, 4, 5, 6, 4, 5, 4, 4, 5, 6, 4, 7, 5, 6, 7, 7, 4, 4, 8, 9, 9, 6, 6, 7, 7, 5, 7, 8, 5, 8, 6, 8, 8, 6, 5, 7, 5, 6, 6, 4, 4, 5, 4, 4, 5, 5, 4, 4, 4, 4, 5, 7, 5, 5, 5, 4, 8, 6, 6, 7, 5, 7, 6, 6, 5, 5, 6, 4, 5, 7, 8, 6, 6, 6, 5, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Continued Fraction.
FORMULA
a(n) = A107901(n) + 1.
MAPLE
[seq(nops(convert(n/ithprime(n), confrac)), n=1..200)]; # Robert Israel, Jan 26 2020
MATHEMATICA
A107898[n_]=Length[ContinuedFraction[n/Prime[n]]
CROSSREFS
Sequence in context: A372982 A051951 A262857 * A128863 A117391 A129456
KEYWORD
nonn
AUTHOR
Zak Seidov, May 26 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 26 20:18 EDT 2024. Contains 375462 sequences. (Running on oeis4.)