OFFSET
1,1
COMMENTS
From Jianing Song, May 25 2025: (Start)
As Ely Golden noted in A153894, a(n) is the total number of symbols required in the fully-expanded von Neumann definition of ordinal n - 1, where the string "{}" is used to represent the empty set and spaces are ignored. First examples:
0 = {};
1 = {0} = {{}};
2 = {0,1} = {{},{{}}};
3 = {0,1,2} = {{},{{}},{{},{{}}}};
4 = {0,1,2,3} = {{},{{}},{{},{{}}},{{},{{}},{{},{{}}}}}. (End)
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
For n > 2, a(n) = 10*A000225(n-3) + 9 = 10*(2^(n-3) - 1) + 9 = 10*2^(n-3) - 1. - Gerald McGarvey, Aug 25 2004
a(1)=1, a(n) = n + Sum_{i=1..n-1} a(i) for n > 1. - Gerald McGarvey, Sep 06 2004
a(n) = 5*2^(n-2) - 1 for n > 1. - Karl V. Keller, Jr., Jun 12 2022
From Elmo R. Oliveira, Jun 13 2026: (Start)
G.f.: x*(2 - 2*x + x^2)/((1 - 2*x)*(1 - x)).
E.g.f.: (5*exp(2*x) - 4*exp(x) - 1 + 2*x)/4.
a(n) = 3*a(n-1) - 2*a(n-2) for n >= 4. (End)
MATHEMATICA
Ceiling[5*2^(Range[35] - 2) - 1] (* Paolo Xausa, Jun 18 2026 *)
PROG
(Python) print([2]+[(5*2**(n-2) - 1) for n in range(2, 50)]) # Karl V. Keller, Jr., Jun 12 2022
(PARI) a(n)=if(n>1, 5*2^n/4-1, 2) \\ Charles R Greathouse IV, May 30 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Elmo R. Oliveira, Jun 13 2026
STATUS
approved
