cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

User: Adam Wang

Adam Wang's wiki page.

Adam Wang has authored 2 sequences.

A381324 Number of true implications over all possible pairs of unique logical sentences of n quantified variables in prenex normal form with a fixed proposition.

Original entry on oeis.org

3, 17, 177, 3029, 76713, 2677637, 122836857
Offset: 1

Author

Adam Wang, Feb 20 2025

Keywords

Comments

The total number of unique logical sentences of n quantified variables in prenex normal form (PNF) with a fixed proposition is given by A000629. Essentially, a logical sentence is in PNF iff it is a string of quantifiers followed by a proposition.
Note that for an arbitrary proposition, the only two possible implications are: firstly, "for all x_1" -> "exists x_1", and, secondly, "exists x_1 forall x_2" -> "forall x_2 exists x_1". The sequence is formed by counting all the number of implications between all valid PNFs for a fixed proposition.

Examples

			a(1)=3, because "forall x P(x)" and "exists x P(x)" both imply themselves, and the former implies the latter. However, the latter does not imply the former.
		

Crossrefs

Formula

a(n) = A000629(n)^2 - A381325(n).

A381325 Number of false implications over all possible pairs of unique logical sentences of n quantified variables in prenex normal form with a fixed proposition.

Original entry on oeis.org

1, 19, 499, 19471, 1094011, 85044319, 8823674539
Offset: 1

Author

Adam Wang, Feb 20 2025

Keywords

Comments

The total number of unique logical sentences of n quantified variables in prenex normal form (PNF) with a fixed proposition is given by A000629. Essentially, a logical sentence is in PNF iff it is a string of quantifiers followed by a proposition.
Note that for an arbitrary proposition, the only two possible implications are: firstly, "for all x_1" -> "exists x_1", and, secondly, "exists x_1 forall x_2" -> "forall x_2 exists x_1". The sequence is formed by counting all the number of implications between all valid PNFs for a fixed proposition.
For example, a(1)=1, because "forall x P(x)" and "exists x P(x)" both imply themselves, and the former implies the latter. However, the latter does not imply the former.

Crossrefs

Formula

a(n) = A000629(n)^2 - A381324(n).