A161681 Primes that are the difference between a cube and a square (conjectured values).
2, 7, 11, 13, 19, 23, 47, 53, 61, 67, 71, 79, 83, 89, 107, 109, 127, 139, 151, 167, 191, 193, 199, 223, 233, 239, 251, 271, 277, 293, 307, 359, 431, 433, 439, 463, 487, 499, 503, 547, 557, 587, 593, 599, 631, 647, 673, 683, 719, 727, 769, 797, 859, 887, 919
Offset: 1
Keywords
Examples
3^3 - 4^2 = 15^3 - 58^2 = 11.
Links
- R. Zumkeller, Some Examples [From _Reinhard Zumkeller_, Oct 31 2009]
Crossrefs
Cf. A000040.
Programs
-
PARI
diffcubesq(n) = { local(a,c=0,c2=0,j,k,y); a=vector(floor(n^2/log(n^2))); for(j=1,n, for(k=1,n, y=j^3-k^2; if(ispseudoprime(y), c++; a[c]=y; ) ) ); a=vecsort(a); for(j=2,c/2, if(a[j]!=a[j-1], c2++; print1(a[j]","); if(c2>100,break); ) ); }
Formula
Integers x,y such that x^3-y^2 = p where p is prime. The generation bound is 10000.
Extensions
Extended and edited by Charles R Greathouse IV, Nov 03 2009
Further edits by N. J. A. Sloane, Nov 09 2009
Comments