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.
%I A135361 #13 Jul 20 2021 03:27:21 %S A135361 0,1,2,9,730,389017001,58871587162270593034051002, %T A135361 204040901322752673844230437877671861543858084850895762746141813554591014612009 %N A135361 a(n) = a(n-1)^3 + 1 with a(0) = 0. %C A135361 Number of ternary trees of height less than n. %C A135361 The rightmost digits cycle (0, 1, 2, 9, 0, 1, 2, 9, ...). %H A135361 Michael De Vlieger, <a href="/A135361/b135361.txt">Table of n, a(n) for n = 0..9</a> %H A135361 Robin Lamarche-Perrin, <a href="https://arxiv.org/abs/1807.06874">An Information-theoretic Framework for the Lossy Compression of Link Streams</a>, arXiv:1807.06874 [cs.DS], 2018. %H A135361 C. Lenormand, <a href="/A003095/a003095.pdf">Arbres et permutations, 1.2: Magmas et Arborescences</a>, pp. 55, 57. %F A135361 a(n) is asymptotic to c^(3^n) where c=1.0847999710783722816939038440390528005339362697... %t A135361 Nest[Append[#, #[[-1]]^3 + 1] &, {0}, 7] (* _Michael De Vlieger_, Oct 24 2018 *) %o A135361 (Sage) %o A135361 def a(n): return 0 if (n==0) else a(n-1)^3 + 1 %o A135361 [a(n) for n in (0..9)] # _G. C. Greubel_, Jul 19 2021 %Y A135361 Cf. A003095, A008322, A119731. %K A135361 easy,nonn %O A135361 0,3 %A A135361 _Gerald McGarvey_, Dec 08 2007