login
A137239
a(n) is the number of Catalan numbers with n digits.
2
4, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2
OFFSET
1,1
COMMENTS
The sequence contains only one 4 and no 3's (the other terms being 1's and 2's). - Paolo Xausa, Sep 26 2025
FORMULA
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = log_4 (10) = 1.660964... (A154155). - Amiram Eldar, Sep 26 2025
EXAMPLE
1-digit Catalan numbers are 1, 1, 2, and 5 so a(1) = 4.
2-digits Catalan numbers are 14 and 24 so a(2) = 2.
MATHEMATICA
Map[Length, Most[Split[IntegerLength[CatalanNumber[Range[0, 200]]]]]] (* Paolo Xausa, Sep 26 2025 *)
CROSSREFS
Run lengths of A389231.
Sequence in context: A282698 A136709 A254969 * A136714 A280135 A297825
KEYWORD
nonn,base,easy
AUTHOR
Ctibor O. Zizka, Mar 09 2008
EXTENSIONS
Corrected and extended by Sean A. Irvine, Feb 07 2010
STATUS
approved