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

A326049
a(n) = n - A050449(n), where A050449 is the sum of divisors of the form 4k+1.
6
0, 1, 2, 3, -1, 5, 6, 7, -1, 4, 10, 11, -1, 13, 9, 15, -1, 8, 18, 14, -1, 21, 22, 23, -6, 12, 17, 27, -1, 24, 30, 31, -1, 16, 29, 26, -1, 37, 25, 34, -1, 20, 42, 43, -15, 45, 46, 47, -1, 19, 33, 38, -1, 44, 49, 55, -1, 28, 58, 54, -1, 61, 32, 63, -19, 32, 66, 50, -1, 64, 70, 62, -1, 36, 44, 75, -1, 64, 78, 74, -10, 40
OFFSET
1,3
LINKS
FORMULA
a(n) = n - A050449(n).
a(n) = A326050(n) + A033879(n).
PROG
(PARI)
A050449(n) = sumdiv(n, d, d*((d % 4) == 1)); \\ From A050449
A326049(n) = (n-A050449(n));
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Jun 04 2019
STATUS
approved