OFFSET
1,1
COMMENTS
a(n) = 0 for n = 13, 62, 171, 364, 665, 1098, ... and 2n+1 = 27, 125, 343, 729, ... are the odd cubes 3^3, 5^3, 7^3, ...
The corresponding primes q are in A224795.
Conjecture: The odd numbers different from a cube are of the form m = 2p - q^3 where p and q are prime numbers.
Remark: if m = c^3 for any odd integer c, then c^3 = 2p - q^3 is impossible because c^3 + q^3 = 2p => (c+q)(c^2 - cq + q^2) with c+q even of the form c+q = 2a => p = a(c^2 - cq + q^2) absurd because p is prime.
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4) = 67 because, for (p, q) = (67, 5), 2*4 + 1 = 9 = 2*67 - 5^3 = 134 - 125 = 9.
MAPLE
for n from 3 by 2 to 200 do:jj:=0:for j from 1 to 50000 while (jj=0) do:q:=ithprime(j):p:=(q^3+n)/2:if type(p, prime)=true then jj:=1: printf(`%d, `, p):else fi:od:if jj=0 then printf(`%d, `, 0):else fi:od:
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Apr 18 2013
STATUS
approved