OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn
AUTHOR
Zak Seidov, May 26 2005
STATUS
approved