OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
311 belongs to this sequence as the next four primes 313, 317, 331 and 337 contain all odd digits.
MATHEMATICA
Prime/@Flatten[Position[Partition[Table[If[AllTrue[IntegerDigits[ n], OddQ], 1, 0], {n, Prime[Range[50000]]}], 5, 1], {1, 1, 1, 1, 1}]] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jan 20 2015 *)
PROG
(Magma) [NthPrime(n): n in [1..10^5] | forall{NthPrime(n+i): i in [0..4] | Intseq(NthPrime(n+i)) subset [1..9 by 2]}]; // Bruno Berselli, Aug 08 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Mar 09 2002
EXTENSIONS
More terms from Bruno Berselli, Aug 08 2013
STATUS
approved