OFFSET
0,2
COMMENTS
First differences are the sequence of semiprimes (A001358). Hence a(n) is the least positive sequence whose first differences are the sequence of semiprimes. Primes in this sequence include: a(1) = 5, a(2) = 11, a(6) = 59, a(9) = 127, a(14) = 293, a(33) = 1613. Semiprimes in this sequence include: a(17) = 427 = 7 * 61, a(18) = 478 = 2 * 239, a(19) = 533 = 13 * 41, a(26) = 995 = 5 * 199, a(27) = 1077 = 3 * 359, a(35) = 1814 = 2 * 907, a(42) = 2643 = 3 * 881, a(45) = 3039 = 3 * 1013.
FORMULA
a(0) = 1; for n>0, a(n) = 1 + A062198(n).
MATHEMATICA
Accumulate[Join[{1}, Select[Range[200], PrimeOmega[#]==2&]]] (* Harvey P. Dale, Apr 29 2018 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Sep 06 2005
STATUS
approved