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”).

A379239
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
4, 6, 7, 10, 12, 13, 15, 19, 21, 22, 23, 28, 31, 33, 34, 35, 37, 39, 43, 45, 47, 48, 51, 53, 55, 58, 61, 67, 73, 76, 77, 79, 82, 83, 84, 89, 95, 97, 103, 105, 109, 111, 112, 113, 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
OFFSET
1,1
EXAMPLE
10 is included as A003961(10)-sigma(10) = 21-18 = 3 which is prime.
13 is included as A003961(13)-sigma(13) = 17-14 = 3 which is prime.
23 is included as A003961(23)-sigma(23) = 29-24 = 5 which is prime.
PROG
(PARI) is_A379239 = A379238;
CROSSREFS
Cf. A000203, A003961, A286385, A379238 (characteristic function).
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.
Cf. also A349165.
Sequence in context: A272632 A229744 A191920 * A047234 A089532 A285254
KEYWORD
nonn,new
AUTHOR
Antti Karttunen, Dec 23 2024
STATUS
approved