OFFSET
4,4
COMMENTS
If the strong Goldbach conjecture is true, that every even number >= 8 is the sum of two distinct primes, then a positive integer k <= A082467(n) exists for n >= 4.
LINKS
Felix Huber, Table of n, a(n) for n = 4..10000
FORMULA
1 <= a(n) <= A082467(n).
EXAMPLE
a(7) = 3 because 10 and 4 have both two prime factors. 8 and 6 or 9 and 7 respectively have a different number of prime factors.
MAPLE
MATHEMATICA
A377320[n_] := Module[{k = 0}, While[PrimeOmega[++k + n] != PrimeOmega[n - k]]; k];
Array[A377320, 100, 4] (* Paolo Xausa, Dec 02 2024 *)
PROG
(PARI) a(n) = my(k=1); while (bigomega(n+k) != bigomega(n-k), k++); k; \\ Michel Marcus, Nov 17 2024
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Felix Huber, Nov 17 2024
STATUS
approved