OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[500]], Max[IntegerDigits[#]]<4&] (* Harvey P. Dale, May 09 2012 *)
Select[FromDigits/@Tuples[{0, 1, 2, 3}, 4], PrimeQ] (* Harvey P. Dale, Mar 06 2016 *)
PROG
(Haskell)
a107715 n = a107715_list !! (n-1)
a107715_list = filter ((== 1) . a010051) a007090_list
-- Reinhard Zumkeller, Aug 11 2011
(Python) from gmpy2 import digits
from sympy import isprime
[int(digits(n, 4)) for n in range(1000) if isprime(int(digits(n, 4)))] # Chai Wah Wu, Jul 31 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, May 22 2005
STATUS
approved