login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A220896 Number of closed lambda-terms of size n with at most 2 free de Bruijn indices. 2
2, 7, 41, 312, 2784, 27917, 307943, 3690055, 47635777, 658405747, 9695617821, 151488900012, 2502346785164, 43560247035581, 796828655891895, 15277217956632472, 306268455537216444, 6406216616616309707, 139535240869213561821, 3159084189417388736206 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Katarzyna Grygiel and Pierre Lescanne, Counting and generating lambda-terms, arXiv preprint arXiv:1210.2610, 2012
FORMULA
Grygiel and Lescanne give a recurrence.
MATHEMATICA
T[0, m_] := m; T[n_, m_] := T[n, m] = T[n-1, m+1] + Sum[T[i, m] T[n-i-1, m], {i, 0, n-1}];
a[n_] := T[n, 2];
Table[a[n], {n, 0, 14}] (* Jean-François Alcover, May 23 2017 *)
CROSSREFS
Sequence in context: A215207 A106871 A107376 * A087804 A006677 A346271
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 31 2012
EXTENSIONS
More terms from Alois P. Heinz, May 23 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)