OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..349
FORMULA
MATHEMATICA
Numerator[Table[Sum[i/Prime[i], {i, 1, n}], {n, 1, 20}]]
Numerator[Accumulate[Table[n/Prime[n], {n, 20}]]] (* Harvey P. Dale, Jan 21 2013 *)
PROG
(PARI) for(n=0, 20, print1(if(n==0, 0, numerator(sum(k=1, n, k/prime(k)))), ", ")) \\ G. C. Greubel, Aug 23 2018
(Magma) [0] cat [Numerator((&+[k/NthPrime(k): k in [1..n]])): n in [1..20]]; // G. C. Greubel, Aug 23 2018
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Alexander Adamchuk, Jul 01 2006
EXTENSIONS
a(0)=0 prepended by Alois P. Heinz, Jun 26 2015
STATUS
approved