OFFSET
0,2
COMMENTS
A truth table is self-dual if the last column (the values of the function) is unchanged if it is reversed and negated.
FORMULA
a(0)=0; for n>0, a(n) = A000371(n-1)-a(n-1).
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 25 2021, based on an email from Nollaig MacKenzie, Mar 23 2021
STATUS
approved