|
|
A157141
|
|
Prime numbers for which the number of odd nonprime digits equals the number of even nonzero digits and both are >0.
|
|
1
|
|
|
29, 41, 61, 89, 127, 163, 167, 239, 251, 271, 293, 349, 389, 401, 409, 431, 439, 479, 521, 541, 569, 601, 613, 617, 631, 659, 761, 769, 809, 839, 859, 947, 967, 983, 1063, 1087, 1229, 1237, 1249, 1277, 1289, 1327, 1367, 1429, 1433, 1453, 1481, 1489, 1523, 1543
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Odd nonprime digits are 1 or 9 and even digits are 2, 4, 6 or 8.
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
Definition corrected, 1277 and 1289 inserted by R. J. Mathar, May 15 2010
|
|
STATUS
|
approved
|
|
|
|