OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
41 is prime; in base 19 it is written "23" and the base 10 number 23 is also prime.
MATHEMATICA
b19Q[n_]:= Module[{idn19=IntegerDigits[n, 19]}, Max[idn19]<10&&PrimeQ[FromDigits[idn19]]]; Select[Prime[Range[PrimePi[9000]]], b19Q] (* 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