A129829 Conjectured first occurrence of numbers n with the property that there exist two consecutive primes p and q such that pq + n is a cube.
2, 9, 12, 20, 21, 25, 29, 32, 48, 49, 58, 62, 65, 73, 75, 81, 90, 101, 110, 119, 122, 139, 156, 176, 181, 184, 186, 189, 200
Offset: 1
Examples
p=2,q=3,k=2. 2*3+2 = 8 a cube.
Crossrefs
Cf. A129783.
Programs
-
PARI
primecube(n,m) = { local(c,k,x,p1,p2,j); c=0; for(k=1,m, for(x=1,n, p1=prime(x); p2=(prime(x+1)); y=p1*p2+k; if(iscube(y), c++; print1(k","); break; ) ) ); c; } iscube(n) = { local(r); r = n^(1/3); if(floor(r+.5)^3== n,1,0) }
Comments