Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A158323
Numbers that are the greater of twin primes such that the number of odd digits of the lesser prime equals the number of prime digits of the greater prime.
1
5, 7, 31, 43, 73, 433, 463, 571, 643, 829, 883, 1231, 1723, 2089, 2131, 2143, 2311, 2593, 2659, 2689, 2713, 2791, 2971, 3259, 3331, 3373, 3463, 3529, 3583, 3673, 3853, 4003, 4051, 4483, 4651, 5443, 5503, 5653, 5743, 5851, 6451, 6553, 6571, 6703, 6763
OFFSET
1,1
COMMENTS
The greater member of a twin prime pair such that the count of its prime digits is equal to the count of odd digits in the smaller member. - R. J. Mathar, May 19 2010
LINKS
EXAMPLE
29 and 31 are twin primes; 29 has one odd digit (9) and 31 has one prime digit (3), so 31 is a term.
41 and 43 are twin primes; 41 has one odd digit (1) and 43 has one prime digit (3), so 43 is a term.
71 and 73 are twin primes; 71 has two odd digits (7 and 1) and 73 has two prime digits (7 and 3), so 73 is a term.
MATHEMATICA
Select[Partition[Prime[Range[1000]], 2, 1], #[[2]]-#[[1]]==2&&Count[IntegerDigits[ #[[1]]], _?OddQ]==Count[IntegerDigits[#[[2]]], _?PrimeQ]&][[All, 2]] (* Harvey P. Dale, Aug 08 2022 *)
CROSSREFS
Cf. A006512.
Sequence in context: A135324 A107639 A069688 * A025119 A025095 A025114
KEYWORD
nonn,base,less
AUTHOR
EXTENSIONS
Corrected (2131 inserted, 2533 replaced by 2593, 2659 inserted, 4231 removed etc.) by R. J. Mathar, May 19 2010
Edited by Jon E. Schoenfield, Apr 18 2021
STATUS
approved