OFFSET
0,4
LINKS
FORMULA
PROG
(PARI) A329891(n) = if(n<=1, n, (2^n - sigma((2^n)-1)) + sigma((2^(n-1))-1));
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 23 2019
STATUS
approved