OFFSET
1,1
COMMENTS
EXAMPLE
a(3)=23 because 23 is the third nonnegative integer m such that fi(4,m) = fi(4,23) = 4 // 23 // 3 // 23 // 2 // 23 // 1 = 4233232231 is prime.
MATHEMATICA
Do[If[PrimeQ[FromDigits[Join[{4}, IntegerDigits[n], {3}, IntegerDigits[n], {2}, IntegerDigits[n], {1}]]], v=Insert[v, n, -1]], {n, 300}]; v
CROSSREFS
KEYWORD
easy,base,nonn
AUTHOR
Farideh Firoozbakht, Jun 27 2003
STATUS
approved