login
A107900
Sum of terms of continued fraction for prime(n)/n.
5
2, 3, 4, 5, 7, 8, 7, 7, 8, 12, 9, 15, 11, 17, 12, 11, 13, 10, 14, 11, 15, 11, 11, 11, 14, 14, 12, 12, 14, 12, 17, 17, 14, 18, 16, 16, 17, 14, 14, 20, 13, 14, 14, 13, 14, 22, 29, 14, 13, 13, 16, 18, 15, 15, 25, 14, 14, 26, 14, 16, 14, 15, 19, 20, 15, 22, 24, 29, 41, 74, 41, 76, 43
OFFSET
1,1
LINKS
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