The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A371622 Primes p such that p - 2 and p + 2 have the same number of prime factors, counted with multiplicity. 3
5, 23, 37, 53, 67, 89, 113, 131, 157, 173, 211, 251, 277, 293, 307, 337, 379, 409, 449, 487, 491, 499, 503, 607, 631, 683, 701, 719, 751, 769, 787, 919, 929, 941, 953, 991, 1009, 1039, 1117, 1129, 1181, 1193, 1201, 1237, 1259, 1381, 1399, 1439, 1459, 1471, 1493, 1499, 1511, 1549, 1567, 1597, 1613 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes p such that A001222(p - 2) = A001222(p + 2).
LINKS
EXAMPLE
a(2) = 23 is a term because 23 is prime and 23 - 2 = 21 = 3 * 7 and 23 + 2 = 25 = 5^2 are both products of 2 primes, counted with multiplicity.
MAPLE
filter:= p -> isprime(p) and numtheory:-bigomega(p-2) = numtheory:-bigomega(p+2):
select(filter, [seq(i, i=3..10000, 2)]);
MATHEMATICA
s = {}; p = 3; Do[While[PrimeOmega[p - 2] != PrimeOmega[p + 2], p =
NextPrime[p]]; Print[p]; AppendTo[s, p]; p = NextPrime[p], {100}]; s
CROSSREFS
Cf. A001222, A115103. Contains A063643, A063645 and A371651. Contained in A371656.
Sequence in context: A050906 A195974 A098421 * A044447 A242215 A061240
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Apr 01 2024
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 May 20 11:55 EDT 2024. Contains 372712 sequences. (Running on oeis4.)