A176229 The smaller members p of cousin prime pairs (p,p+4) with a semiprime arithmetic mean p+2.
7, 13, 19, 37, 67, 109, 127, 307, 379, 487, 499, 769, 877, 937, 1009, 1297, 1567, 2269, 2389, 2659, 2857, 3037, 3187, 3457, 3847, 3907, 3919, 4447, 4789, 4969, 4999, 5077, 5167, 5347, 5737, 6007, 6997, 7039, 7669, 8689, 8779, 9199, 10597, 11467, 11827
Offset: 1
Keywords
Examples
7 = prime(4), 11 = prime(5), (7+11)/2 = 3^2 = semiprime(3), so 7 is in the sequence. 13 = prime(6), 17 = prime(7), (13+17)/3 = 3 * 5 = semiprime(6), so 13 is in the sequence. 19 = prime(8), 23 = prime(9), (19+23)/3 = 3 * 7 = semiprime(7), so 19 is in the sequence.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
aQ[n_] := PrimeQ[n] && PrimeOmega[n + 2] == 2 && PrimeQ[n + 4]; Select[Range[12000], aQ] (* Amiram Eldar, Sep 08 2019 *) Select[Prime[Range[1500]],PrimeQ[#+4]&&PrimeOmega[#+2]==2&] (* Harvey P. Dale, May 15 2023 *)
Comments