OFFSET
0,2
COMMENTS
For n >= 1, a(n) is the number of n-variable non-balanced Boolean functions. A Boolean function is non-balanced if it takes the values 0 and 1 not an equal number of times. - Thomas Scheuerle, Apr 17 2026
LINKS
Aniruddha Biswas and Palash Sarkar, Counting unate and balanced monotone Boolean functions, arXiv:2304.14069 [math.CO], 2023.
Aniruddha Biswas and Palash Sarkar, Counting Unate and Monotone Boolean Functions Under Restrictions of Balancedness and Non-Degeneracy, J. Int. Seq. (2025) Vol. 28, Art. No. 25.3.4. See p. 2.
FORMULA
From Thomas Scheuerle, Apr 17 2026: (Start)
a(n) = A045621(2^n).
a(n) = 2^(2^n) - binomial(2^n, 2^(n-1)), for n > 0. (End)
PROG
(PARI) a(n) = 2^(2^n) - (2^n)!/(2^(n-1))!^2 \\ Thomas Scheuerle, Apr 17 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
a(7)-a(8) from Thomas Scheuerle, Apr 17 2026
STATUS
approved
