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

A349751
Odd numbers k such that sigma(k) == -k (mod 3), where sigma is the sum of divisors function.
3
7, 13, 15, 19, 31, 33, 37, 43, 45, 51, 61, 67, 69, 73, 79, 87, 97, 99, 103, 105, 109, 123, 127, 135, 139, 141, 147, 151, 153, 157, 159, 163, 165, 175, 177, 181, 193, 195, 199, 207, 211, 213, 223, 229, 231, 241, 249, 255, 261, 267, 271, 277, 283, 285, 297, 303, 307, 313, 315, 321, 325, 331, 337, 339, 345, 349, 357
OFFSET
1,1
COMMENTS
Odd numbers k for which A155085(k) is a multiple of 3.
EXAMPLE
7 is present as 7 mod 3 = +1, while sigma(7) = 8, and 8 mod 3 = 2, i.e., -1.
45 is present as 45 mod 3 = 0, while sigma(45) = 78, and 78 mod 3 = 0 as well.
MATHEMATICA
Select[Range[1, 360, 2], Divisible[DivisorSigma[1, #] + #, 3] &] (* Amiram Eldar, Dec 01 2021 *)
PROG
(PARI) isA349751(n) = ((n%2)&&0==(sigma(n)+n)%3);
CROSSREFS
Cf. A349752 (intersection with A349749).
Sequence in context: A349749 A076196 A330431 * A349752 A167782 A326380
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 30 2021
STATUS
approved