OFFSET
1,1
COMMENTS
See A235110 for a similar sequence whose definition works "in the opposite direction": Actually, the base-13 representation of the terms here. - M. F. Hasler, Jan 03 2014
LINKS
Robert Price, Table of n, a(n) for n = 1..14473
EXAMPLE
The prime p = 53 is written 41 in base 13, and 41 is again (the base 10 representation of) a prime. Therefore p = 53 is a term of this sequence. [Rephrased by M. F. Hasler, Jan 03 2014]
MATHEMATICA
f[n_]:=Module[{c13=FromDigits[IntegerDigits[n], 13]}, If[PrimeQ[c13], c13, 0]]; Select[f/@Prime[Range[500]], #!=0&] (* Harvey P. Dale, Jun 20 2011 *)
PROG
(PARI) is_A090712(p)=vecmax(d=digits(p, 13))<10&&isprime(vector(#d, i, 10^(#d-i))*d~)&&isprime(p) \\ M. F. Hasler, Jan 05 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Cino Hilliard, Jan 18 2004
EXTENSIONS
Edited by N. J. A. Sloane, Feb 07 2007, and by M. F. Hasler, Jan 05 2014
STATUS
approved
