OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
prime(6)/prime(5) = 13/11 = 1 + 1/(5 + 1/2).
So a(5) is 17, the numerator of 17/10 = 1 + 1/5 + 1/2.
MATHEMATICA
f[n_] := Plus @@ (1/# &) /@ ContinuedFraction[Prime[n + 1]/Prime[n]]; Table[Numerator[f[n]], {n, 60}] (* Ray Chandler, Sep 07 2005 *)
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Leroy Quet, Sep 03 2005
EXTENSIONS
Extended by Ray Chandler, Sep 07 2005
STATUS
approved