OFFSET
1,16
FORMULA
EXAMPLE
a(7) = 1 since 7 = 2 + 5 is the only partition of 7 into two distinct nonadjacent prime parts.
MATHEMATICA
Table[Sum[(1 - Floor[(PrimePi[i] + 1)/PrimePi[n - i]]) (PrimePi[i] - PrimePi[i - 1]) (PrimePi[n - i] - PrimePi[n - i - 1]), {i, Floor[(n - 1)/2]}], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, May 09 2019
STATUS
approved