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

A349400
Dirichlet inverse of EKG-permutation, A064413.
2
1, -2, -4, -2, -3, 7, -12, 8, 6, 7, -15, 18, -14, 41, 3, -12, -16, -4, -22, 9, 63, 33, -30, -49, -26, 28, -10, 15, -39, -2, -32, 6, 103, 13, 30, -69, -19, 31, 67, -68, -44, -218, -23, 39, 36, 70, -52, 38, 88, 67, 65, 52, -55, -21, 20, -294, 147, 69, -66, -52, -31, 35, -144, 48, 16, -240, -37, 93, 165, -180, -76, 78
OFFSET
1,2
FORMULA
a(1) = 1; a(n) = -Sum_{d|n, d < n} A064413(n/d) * a(d).
PROG
(PARI)
v064413 = readvec("b064413_to.txt"); \\ Data prepared with Chai Wah Wu's Dec 08 2014 Python-program given in A064413.
A064413(n) = v064413[n];
memoA349400 = Map();
A349400(n) = if(1==n, 1, my(v); if(mapisdefined(memoA349400, n, &v), v, v = -sumdiv(n, d, if(d<n, A064413(n/d)*A349400(d), 0)); mapput(memoA349400, n, v); (v)));
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 19 2021
STATUS
approved