OFFSET
1,1
COMMENTS
Odd nonprime digits are 1 or 9 and even digits are 2, 4, 6 or 8.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
pdQ[p_]:=Count[IntegerDigits[p], _?(MemberQ[{1, 9}, #]&)]==Count[IntegerDigits[p], _?(MemberQ[ {2, 4, 6, 8}, #]&)]>0; Select[Prime[Range[250]], pdQ] (* Harvey P. Dale, Dec 22 2023 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Juri-Stepan Gerasimov, Feb 24 2009
EXTENSIONS
Definition corrected, 1277 and 1289 inserted by R. J. Mathar, May 15 2010
STATUS
approved