|
|
A158314
|
|
Consider a twin prime pair (p, q=p+2) such that the number of prime digits in p is equal to the number of odd digits in q; sequence lists values of p.
|
|
0
|
|
|
3, 5, 59, 281, 347, 521, 599, 659, 821, 857, 1277, 1427, 2081, 2381, 2729, 2801, 3251, 3359, 3467, 3539, 3557, 3767, 3821, 4127, 4217, 4229, 4241, 4271, 4337, 4421, 4547, 4637, 4721, 4787, 4799, 5021, 5231, 5477, 5639, 5657, 5867, 5879, 6359, 6659, 6779
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
npdQ[{m_, n_}]:=Module[{r=Count[IntegerDigits[m], _?PrimeQ]}, n-m==2&&r==Count[IntegerDigits[n], _?OddQ]]; Select[Partition[ Prime[ Range[ 1000]], 2, 1], npdQ][[All, 1]] (* Harvey P. Dale, May 18 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Better definition from and data corrected (2381 to 3359 inserted) by R. J. Mathar, May 19 2010
|
|
STATUS
|
approved
|
|
|
|