OFFSET
1,7
COMMENTS
The totatives of n are the numbers k <= n with gcd(k,n) = 1.
LINKS
David Zmiaikou, Origamis and permutation groups, Thesis, 2011. See p. 65.
PROG
(PARI) a(n) = {vn = vector(n, k, k); vt = select(x->(gcd(x, n) == 1), vn); sum(k=1, #vt\2, vt[k]\2); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Feb 19 2017
STATUS
approved