OFFSET
1,5
COMMENTS
Conjecture: a(n) > 0 for all n > 1.
See also A228425 for other similar conjectures.
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(8) = 1 since 8 = 3 + 5 with p(99, 3) + p (100, 5) = 1279 prime.
a(38) = 1 since 38 = 6 + 32 with p(99, 6) + p(100, 32) = 50101 prime.
MATHEMATICA
p[m_, x_]:=(m-2)x(x-1)/2+x
a[n_]:=Sum[If[PrimeQ[p[99, x]+p[100, 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