|
1, 1, -1, 1, 1, -1, -1, 1, 0, 1, 1, -1, -1, -1, 1, 1, 1, 0, -1, 1, 1, 1, 1, -1, 0, -1, 0, -1, -1, 1, 1, 1, 1, 1, -1, 0, -1, -1, 1, 1, 1, 1, -1, 1, 2, 1, 1, -1, 0, 0, 1, -1, -1, 0, -3, -1, 1, -1, 1, 1, -1, 1, 0, 1, -1, 1, 1, 1, 1, -1, -1, 0, 1, -1, 0, -1, 1, 1, -1, 1, 0, 1, 1, 1, -3, -1, 1, 1, -1, 2, -3, 1, 1, 1, -1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,45
|
|
LINKS
|
|
|
FORMULA
|
For all n >= 1, a(A000040(n)) = ((-1)^(n-1)).
|
|
PROG
|
(PARI)
A064989(n) = { my(f=factor(A000265(n))); for(i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
memoA353454 = Map();
A353454(n) = if(1==n, 1, my(v); if(mapisdefined(memoA353454, n, &v), v, v = -sumdiv(n, d, if(d<n, A353454(A064989(n))*A353454(d), 0)); mapput(memoA353454, n, v); (v)));
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|