|
|
A282600
|
|
a(n) = Sum_(k=1..phi(n)) floor(d_k/2) where d_k are the totatives of n.
|
|
3
|
|
|
0, 0, 1, 1, 4, 2, 9, 6, 12, 8, 25, 10, 36, 18, 28, 28, 64, 24, 81, 36, 60, 50, 121, 44, 120, 72, 117, 78, 196, 56, 225, 120, 160, 128, 204, 102, 324, 162, 228, 152, 400, 120, 441, 210, 264, 242, 529, 184, 504, 240, 400, 300, 676, 234, 540, 324, 504, 392, 841, 232
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
The totatives of n are the numbers k <= n with gcd(k,n) = 1.
|
|
LINKS
|
|
|
FORMULA
|
|
|
PROG
|
(PARI) a(n) = sum(k=1, n, (k\2)*(gcd(n, k)==1));
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|