OFFSET
1,1
COMMENTS
This sequence is infinite because if n is in the sequence then for all natural numbers m, 10^m*n is in the sequence.
Contribution from Farideh Firoozbakht, Sep 29 2009: (Start)
110218462 is the smallest term n such that the reversal of n^6 is also prime.
A165698 is a subsequence of this sequence such that for each term n reversal(n^6)
is also prime. (End)
EXAMPLE
3244 is in the sequence because reversal(3244^k) for k=1,2,...,5
are respectively 4423, 63532501, 48705383143, 692349908447011,
and 422250654361652953 and these five numbers are primes.
MATHEMATICA
Do[If[PrimeQ[FromDigits[Reverse[IntegerDigits[n]]]] && PrimeQ[FromDigits[Reverse[IntegerDigits[n^2]]]] && PrimeQ [FromDigits[Reverse[IntegerDigits[n^3]]]] && PrimeQ[FromDigits [Reverse[IntegerDigits[n^4]]]] && PrimeQ[FromDigits[Reverse [IntegerDigits[n^5]]]], Print[n]], {n, 32000000}]
Select[Range[20000000], And@@PrimeQ[FromDigits[Reverse[ IntegerDigits[ #]]]&/@ (#^Range[5])]&] (* Harvey P. Dale, Jan 17 2014 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Farideh Firoozbakht, Apr 21 2006
STATUS
approved