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

A340193
a(n) = n - (Sum_{d|n} A063994(d)).
3
0, 0, 0, 1, 0, 1, 0, 4, 4, 3, 0, 5, 0, 5, 4, 11, 0, 10, 0, 11, 8, 9, 0, 15, 16, 11, 20, 15, 0, 15, 0, 26, 16, 15, 20, 25, 0, 17, 20, 29, 0, 25, 0, 29, 24, 21, 0, 37, 36, 38, 28, 33, 0, 43, 36, 41, 32, 27, 0, 41, 0, 29, 44, 57, 32, 41, 0, 47, 40, 49, 0, 58, 0, 35, 56, 51, 56, 55, 0, 67, 72, 39, 0, 61, 48, 41, 52, 71, 0, 63, 36
OFFSET
1,8
FORMULA
a(n) = n - A340192(n).
a(n) = Sum_{d|n} A318840(d).
PROG
(PARI)
A063994(n) = { my(f=factor(n)); prod(i=1, #f~, gcd(f[i, 1]-1, n-1)); };
A340193(n) = (n-sumdiv(n, d, A063994(d)));
CROSSREFS
Inverse Möbius transform of A318840.
Cf. also A051953.
Sequence in context: A021697 A276635 A256845 * A340196 A016707 A131080
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 31 2020
STATUS
approved