cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A135361 a(n) = a(n-1)^3 + 1 with a(0) = 0.

Original entry on oeis.org

0, 1, 2, 9, 730, 389017001, 58871587162270593034051002, 204040901322752673844230437877671861543858084850895762746141813554591014612009
Offset: 0

Views

Author

Gerald McGarvey, Dec 08 2007

Keywords

Comments

Number of ternary trees of height less than n.
The rightmost digits cycle (0, 1, 2, 9, 0, 1, 2, 9, ...).

Crossrefs

Programs

  • Mathematica
    Nest[Append[#, #[[-1]]^3 + 1] &, {0}, 7] (* Michael De Vlieger, Oct 24 2018 *)
  • Sage
    def a(n): return 0 if (n==0) else a(n-1)^3 + 1
    [a(n) for n in (0..9)] # G. C. Greubel, Jul 19 2021

Formula

a(n) is asymptotic to c^(3^n) where c=1.0847999710783722816939038440390528005339362697...