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.

Showing 1-3 of 3 results.

A236393 Number of typable lambda terms of size n with size 0 for the variables.

Original entry on oeis.org

0, 0, 1, 1, 2, 2, 3, 5, 8, 13, 22, 36, 58, 103, 177, 307, 535, 949, 1645, 2936, 5207, 9330, 16613, 29921, 53588, 96808, 174443, 316267, 572092, 1040596, 1888505, 3441755, 6268500, 11449522, 20902152, 38256759, 70004696, 128336318, 235302612, 432050796, 793513690, 1459062947, 2683714350
Offset: 0

Views

Author

N. J. A. Sloane, Jan 27 2014

Keywords

Comments

For definition see Appendix A of Grygiel and Lescanne, arXiv 2014.

References

  • Katarzyna Grygiel, Pierre Lescanne. Counting and Generating Terms in the Binary Lambda Calculus (Extended version). 2015.

Crossrefs

Extensions

Name clarified by Pierre Lescanne, Jul 13 2016

A272794 The numbers of closed simply typable lambda terms of natural size n.

Original entry on oeis.org

0, 0, 1, 1, 2, 5, 13, 27, 74, 198, 508, 1371, 3809, 10477, 29116, 82419, 233748, 666201, 1914668, 5528622, 16019330, 46642245, 136326126, 399652720, 1175422931, 3467251920, 10258152021
Offset: 0

Views

Author

Pierre Lescanne, Jul 13 2016

Keywords

Comments

Natural size measure lambda terms as follows: all symbols are assigned size 1, namely applications, abstractions, successor symbols in de Bruijn indices and 0 symbol in de Bruijn indices (i.e., a de Bruijn index n is assigned size n+1).
Here we count the closed simply typable terms of natural size n. "Closed" means that there is no free index (no free bound variable). "Simply typable" means that lambda terms have a simple type.
The numbers are computed as follows: all the closed terms are generated and then filtered using a type reconstruction algorithm. The values given above are the only known values of the sequence.

Crossrefs

A294450 The numbers of plain simply typable lambda terms of natural size n.

Original entry on oeis.org

0, 1, 2, 3, 8, 17, 42, 106, 287, 747, 2069, 5732, 16012, 45283, 129232, 370761, 1069972
Offset: 0

Views

Author

N. J. A. Sloane, Nov 22 2017

Keywords

Crossrefs

Showing 1-3 of 3 results.