OFFSET
1,2
COMMENTS
Clauses are multisets of 3 literals chosen from {x_1, x_2, not x_1, not x_2}; repeated literals inside a clause are allowed. A formula is a multiset of n such clauses, so repeated clauses are also allowed.
There are binomial(2*2+2,3) = binomial(6,3) = 20 clause types over 2 variables, so the total number of n-clause formulas is binomial(n+19,n), and a(n) is that total minus the number of satisfiable formulas.
REFERENCES
Stephen A. Cook, The complexity of theorem-proving procedures, Proceedings of the Third Annual ACM Symposium on Theory of Computing, 1971, 151-158.
FORMULA
a(n) = binomial(n+19,n) - 4*binomial(n+15,n) + 4*binomial(n+12,n) + 2*binomial(n+11,n) - 4*binomial(n+9,n) + binomial(n+7,n).
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ramin Mohammadi Masoudi, Jun 13 2026
STATUS
approved
