OFFSET
1,5
COMMENTS
By a conjecture in A228425, we should have a(n) > 0 for all n > 1.
Conjecture: For each m = 3, 4, ..., any sufficiently large integer n can be written as x + y (x, y > 0) with p(m, x) + p(m+1, y) prime.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
Zhi-Wei Sun, On universal sums of polygonal numbers, preprint, arXiv:0905.0635.
EXAMPLE
a(9) = 1 since 9 = 5 + 4 with p(39, 5) + p(40, 4) = 607 prime.
a(26) = 1 since 26 = 19 + 7 with p(39, 19) + p (40, 7) = 7151 prime.
MATHEMATICA
p[m_, x_]:=(m-2)x(x-1)/2+x
a[n_]:=Sum[If[PrimeQ[p[39, x]+p[40, n-x]], 1, 0], {x, 1, n-1}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Nov 10 2013
STATUS
approved