login
A336647
a(n) = n - A336566(n).
3
0, 1, 1, 3, 1, 6, 1, 7, 8, 8, 1, 10, 1, 10, 9, 15, 1, 15, 1, 18, 11, 14, 1, 18, 24, 16, 25, 14, 1, 18, 1, 31, 15, 20, 13, 35, 1, 22, 17, 30, 1, 30, 1, 42, 42, 26, 1, 34, 48, 49, 21, 50, 1, 42, 17, 54, 23, 32, 1, 54, 1, 34, 62, 63, 19, 54, 1, 66, 27, 66, 1, 69, 1, 40, 74, 74, 19, 66, 1, 78, 80, 44, 1, 70, 23, 46, 33, 86
OFFSET
1,4
COMMENTS
Some terms, for example a(600) and a(6552), are negative. - Georg Fischer, Jul 31 2020
FORMULA
a(n) = n - A336566(n).
PROG
(PARI)
A007947(n) = factorback(factorint(n)[, 1]);
A057723(n) = { my(r=A007947(n)); (r*sigma(n/r)); };
A308135(n) = (sigma(n)-A057723(n));
A336563(n) = (A057723(n)-n);
A336564(n) = (n - A308135(n));
A336566(n) = gcd(A336563(n), A336564(n));
A336647(n) = (n - A336566(n));
CROSSREFS
Cf. A336555 (positions where differs from A336646).
Cf. A336565 (positions where a(n) = 2*n - A057723(n) = n - A336563(n)).
Cf. also A336645.
Sequence in context: A318325 A300244 A336646 * A336645 A349910 A168111
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 30 2020
STATUS
approved