login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A137181
Maximal number of symbols in terms generated by an inefficient set of rewrite rules for flattening combinator expressions of initial size n.
0
1, 2, 4, 8, 16, 32, 273, 65569, 4294967361, 15177100720513508366558296147058741458143803430094840009779784451085189728165691939
OFFSET
1,2
FORMULA
a(n) = 2^(n-1), for n <= 6; a(n) = 2^a(n-3) + 2*a(n-3) + 1, for n > 6
EXAMPLE
For n=6, the maximum result is generated from the initial term X (X (X (X (X X)))). For n=10, the maximum result is generated from the initial term X (X X) (X (X X) (X (X (X X)))).
CROSSREFS
Sequence in context: A138814 A233424 * A272698 A355548 A036373 A119610
KEYWORD
nonn
AUTHOR
Chris Okasaki (cokasaki(AT)acm.org), Apr 04 2008
STATUS
approved