OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
67 is prime; in base 64 it is written "13" and the base 10 number 13 is also prime.
MATHEMATICA
b64Q[n_]:= Module[{idn64=IntegerDigits[n, 64]}, Max[idn64]<10&&PrimeQ[FromDigits[idn64]]]; Select[Prime[Range[PrimePi[30000]]], b64Q] (* Vincenzo Librandi, Apr 18 2013 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Cino Hilliard, Jan 18 2004
EXTENSIONS
Edited by Jens Kruse Andersen, May 04 2008
STATUS
approved