OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2) = 17 is prime: 17^3 = 4913. Removing rightmost digit gives 491 which is prime.
a(3) = 53 is prime: 53^3 = 148877. Removing rightmost digit gives 14887 which is prime.
MATHEMATICA
Select[Prime[Range[1000]], PrimeQ[Floor[(#^3)/10]] &]
PROG
(PARI) forprime(p=1, 10000, if(isprime(floor((p^3)/10)), print1(p, ", ")))
(Magma) [p: p in PrimesUpTo(6500) |IsPrime(Floor(p^3/10))]; // Vincenzo Librandi, May 17 2015
(Haskell)
a258032 n = a258032_list !! (n-1)
a258032_list = filter ((== 1) . a010051' . flip div 10. (^ 3)) a000040_list
-- Reinhard Zumkeller, May 18 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, May 16 2015
STATUS
approved