login
A324114
A000120-deficiency of n permuted by Doudna-sequence: a(n) = A192895(A005940(1+n)).
5
-1, 0, -1, 1, -1, 2, 1, 2, -2, 2, 1, 5, 0, 6, 1, 3, -2, 2, 3, 5, 3, 10, 7, 8, 1, 6, 8, 11, 0, 10, 6, 4, -2, 2, 4, 6, 1, 12, 5, 8, 3, 12, 14, 19, 6, 22, 15, 11, -1, 8, 8, 12, 6, 24, 18, 16, 1, 12, 15, 19, 7, 18, 6, 5, -1, 2, 2, 6, 4, 12, 6, 10, 2, 12, 15, 21, 10, 22, 15, 11, 2, 14, 12, 21, 18, 36, 28, 28, 9, 24, 31, 37, 17, 38, 21, 14, 0, 8, 7
OFFSET
0,6
FORMULA
a(n) = A192895(A005940(1+n)).
For n > 0, a(n) = A324194(A054429(n)).
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t }; \\ From A005940
A192895(n) = sumdiv(n, d, hammingweight(d)*(-1)^(d==n));
A324114(n) = A192895(A005940(1+n));
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Feb 19 2019
STATUS
approved