OFFSET
4,2
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(8) = 2 because 10 and 6 have both four divisors. 9 and 7 have a different number of divisors.
MAPLE
MATHEMATICA
A377319[n_] := Module[{k = 0}, While[DivisorSigma[0, ++k + n] != DivisorSigma[0, n - k]]; k];
Array[A377319, 100, 4] (* Paolo Xausa, Dec 03 2024 *)
PROG
(PARI) a(n) = my(k=1); while (numdiv(n+k) != numdiv(n-k), k++); k; \\ Michel Marcus, Nov 17 2024
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Felix Huber, Nov 17 2024
STATUS
approved