OFFSET
1,7
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=113: the reduced residue system consists of 112 numbers: Card[OddNonTotients(113)] = 56 - 1, EvenNonTotients = {14,26,34,38,50,62,68,74,76,86,90,94,98}, i.e., 13 terms, therefore a(113) = 56 - 1 + 13 = 68.
PROG
(PARI) a(n) = sum(k = 1, n, gcd(n, k) == 1 && !istotient(k)); \\ Amiram Eldar, Nov 07 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 19 2002
STATUS
approved