OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Continued Fraction.
MAPLE
f:= n -> convert(Term(NumberTheory:-ContinuedFraction(ithprime(n)/n), all), `+`):
map(f, [$1..200]); # Robert Israel, Jan 08 2024
MATHEMATICA
A107900[n_]: = Plus@@ContinuedFraction[Prime[n]/n]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 26 2005
STATUS
approved