OFFSET
1,2
COMMENTS
a(n) = a(n-1) + 1 if and only if n is a composite number.
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 1..502
MATHEMATICA
Table[Sum[Product[Prime[i], {i, PrimePi[n]}]/Product[Prime[i], {i, PrimePi[k]}], {k, n}], {n, 32}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Nov 27 2011
STATUS
approved