OFFSET
1,1
COMMENTS
The differences are multiples of 1728.
LINKS
Antonio Roldán, Table of n, a(n) for n = 1 to 40
EXAMPLE
905213 is prime, 312509 is prime. 905213 - 312509 = 592704 = 84^3.
MATHEMATICA
Select[Prime[Range[100000]], !PalindromeQ[#]&&PrimeQ[IntegerReverse[#]] && IntegerQ[ CubeRoot[ Abs[#-IntegerReverse[#]]]]&] (* Harvey P. Dale, Jan 27 2023 *)
PROG
(PARI) isok(i)=my(p=fromdigits(Vecrev(digits(i)))); i!=p && isprime(i) && isprime(p) && ispower(abs(i-p), 3)
{for(i=2, 2*10^6, if(isok(i), print1(i, ", ")))} /* Antonio Roldán, Dec 19 2012 */
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antonio Roldán, Oct 02 2012
STATUS
approved
