A064436 Number of switching functions of n or fewer variables which cannot be realized as threshold gates.
0, 0, 2, 152, 63654, 4294872724, 18446744073694523482, 340282366920938463463374607423390140592, 115792089237316195423570985008687907853269984665640564039457583990351590086990
Offset: 0
Keywords
Examples
n=2: out of the 16 B^2 -> B^1 truth functions, 14 are linearly separable; the 2 exceptions are XOR and its negation: f(x,y) = !xz + x!y and !f(x,y) = xy + !x!y. So a(2)=2. With increasing n, the chance that a switching function belongs to this sequence tends to 1.
Links
- Wang Lan, Table of n, a(n) for n = 0..9
Crossrefs
Cf. A000609.
Formula
a(n) = 2^(2^n) - A000609(n).
Comments