login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Cf. A001359.
Sequence in context: A337924 A049190 A174920 * A249011 A261533 A118477
KEYWORD
nonn,base,less
AUTHOR
EXTENSIONS
Better definition from and data corrected (2381 to 3359 inserted) by R. J. Mathar, May 19 2010
Definition edited by N. J. A. Sloane, May 18 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)