OFFSET
1,4
COMMENTS
Conjecture: (i) a(n) > 0 except for n = 1, 6.
(ii) For any positive integer n not among 1, 3, 14, 25, there are positive integers x and y with x + y = n such that x^3 + y*(y+1)/2 is prime.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
EXAMPLE
a(14) = 1 since 14 = 4 + 10 with 4^4 + 10*11/2 = 311 prime.
a(27) = 1 since 27 = 22 + 5 with 22^4 + 5*6/2 = 234271 prime.
MATHEMATICA
a[n_]:=Sum[If[PrimeQ[x^4+(n-x)(n-x+1)/2], 1, 0], {x, 1, n-1}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Nov 10 2013
STATUS
approved