OFFSET
1,1
COMMENTS
k is the midpoint of a prime pair (k-5, k+5) differing by 10; this sequence is a subsequence of A087696.
All computed terms are divisible by 18.
Most computed terms satisfy gcd(k, sigma(k)) = 2, though other prime values also occur.
EXAMPLE
For k = 3924: 3924-5 = 3919 and 3924+5 = 3929 are prime. Also, sigma(3924) = 10010 and gcd(3924, 10010) = 2, which is prime, so 3924 is a term.
For k = 12: 12-5 = 7 and 12+5 = 17 are prime, but sigma(12) = 28 and gcd(12, 28) = 4, which is not prime, so 12 is not a term.
MATHEMATICA
Select[Range[230000], And @@ PrimeQ[{# - 5, # + 5, GCD[#, DivisorSigma[1, #]]}] &] (* Amiram Eldar, May 08 2026 *)
PROG
(Python)
from sympy import divisor_sigma, gcd, isprime
def ok(k): return isprime(k-5) and isprime(k+5) and isprime(gcd(k, divisor_sigma(k)))
print([k for k in range(1, 500000) if ok(k)])
CROSSREFS
KEYWORD
nonn
AUTHOR
Aied Sulaiman, May 08 2026
STATUS
approved
