A224794 Smallest prime p such that 2n+1 = 2p - q^3 for some odd prime q, or 0 if no such prime exists.
173, 2459, 17, 67, 19, 113497, 179, 71, 23, 73, 677, 25339, 0, 74453, 29, 79, 31, 1117, 191, 83, 193, 25349, 37, 1123, 197, 89, 41, 3594557, 43, 1129, 3461, 12227, 47, 97, 701, 647551, 3467, 101, 53, 103, 1124087, 647557, 709, 107, 59, 109, 61, 113539, 6133
Offset: 1
Keywords
Examples
a(4) = 67 because, for (p, q) = (67, 5), 2*4 + 1 = 9 = 2*67 - 5^3 = 134 - 125 = 9.
Links
- Michel Lagneau, Table of n, a(n) for n = 1..10000
Programs
-
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:
Comments