login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers k for which A003961(k)-sigma(k) is prime, where A003961 is fully multiplicative with a(prime(i)) = prime(i+1), and sigma is the sum of divisors function.
2

%I #9 Dec 23 2024 11:38:20

%S 4,6,7,10,12,13,15,19,21,22,23,28,31,33,34,35,37,39,43,45,47,48,51,53,

%T 55,58,61,67,73,76,77,79,82,83,84,89,95,97,103,105,109,111,112,113,

%U 115,118,123,124,127,129,131,141,142,143,145,148,151,153,155,156,157,159,161,163,165,167,173,185,187,192,193,199

%N Numbers k for which A003961(k)-sigma(k) is prime, where A003961 is fully multiplicative with a(prime(i)) = prime(i+1), and sigma is the sum of divisors function.

%H Antti Karttunen, <a href="/A379239/b379239.txt">Table of n, a(n) for n = 1..20000</a>

%H <a href="/index/Pri#prime_indices">Index entries for sequences related to prime indices in the factorization of n</a>.

%H <a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a>.

%e 10 is included as A003961(10)-sigma(10) = 21-18 = 3 which is prime.

%e 13 is included as A003961(13)-sigma(13) = 17-14 = 3 which is prime.

%e 23 is included as A003961(23)-sigma(23) = 29-24 = 5 which is prime.

%o (PARI) is_A379239 = A379238;

%Y Cf. A000203, A003961, A286385, A379238 (characteristic function).

%Y Subsequences: A023200, A031924, A031926, A031930, A031932, A031936, A031938, etc, i.e., all primes for which the gap to the next prime is one more than some prime.

%Y Cf. also A349165.

%K nonn

%O 1,1

%A _Antti Karttunen_, Dec 23 2024