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

A070963
a(1) = 2; for n >= 2, n = Sum_{1<=k<n, gcd(k,n)=1} a(k).
1
2, 1, 2, 0, 4, -2, 0, 2, 6, -4, 6, -4, -6, 10, 2, -2, 12, -10, -2, 8, 2, -4, 8, 4, -16, 8, 10, -8, 10, -8, -8, 14, 14, -26, 26, -14, -36, 42, 20, -22, 68, -66, -60, 14, -10, 60, 40, -74, -38, -66, 10, 134, 44, -98, -64, -54, 22, 156, 20, -18, -34, -240, 10, 256, 32, -18, -6, -144, -72, 226, 70, -68, -50, -184, 58, 236, 82
OFFSET
1,1
LINKS
EXAMPLE
12 = a(1) + a(5) + a(7) + a(11) = 2 + 4 + 0 + 6 because 1, 5, 7 and 11 are the positive integers < 12 and relatively prime to 12.
CROSSREFS
Cf. A045545.
Sequence in context: A080966 A187150 A023895 * A174064 A139158 A308209
KEYWORD
sign
AUTHOR
Leroy Quet, May 16 2002
STATUS
approved