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