|
|
A135361
|
|
a(n) = a(n-1)^3 + 1 with a(0) = 0.
|
|
1
|
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Number of ternary trees of height less than n.
The rightmost digits cycle (0, 1, 2, 9, 0, 1, 2, 9, ...).
|
|
LINKS
|
|
|
FORMULA
|
a(n) is asymptotic to c^(3^n) where c=1.0847999710783722816939038440390528005339362697...
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage)
def a(n): return 0 if (n==0) else a(n-1)^3 + 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|