OFFSET
1,1
COMMENTS
See the conjecture and the comments in A185046, and the corresponding primes p.
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4) = 167 because, for (p, q) = (7, 167), 9 = 7^3 - 2*167 = 343 - 334 = 9.
MAPLE
for n from 3 by 2 to 200 do:
jj:=0:
for j from 1 to 10000 while (jj=0) do:
p:=ithprime(j):q:=(p^3-n)/2:
if q> 0 and type(q, prime)=true
then
jj:=1:printf(`%d, `, q):
else
fi:
od:
if jj=0 then
printf(`%d, `, 0):
else
fi:
od:
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Apr 17 2013
STATUS
approved