OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
2129 is a term as 2, 1, 2 and 9 have even and odd parity alternately.
MATHEMATICA
Join[{2, 3, 5, 7}, Select[Prime[Range[400]], Union[Abs[Differences[Boole/@ EvenQ[ IntegerDigits[#]]]]] == {1}&]] (* Harvey P. Dale, Jul 26 2011 *)
PROG
(Haskell)
a030144 n = a030144_list !! (n-1)
a030144_list = filter ((== 1) . a228710) a000040_list
-- Reinhard Zumkeller, Aug 31 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Aug 31 2013
STATUS
approved