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.

A261232 a(n) = number of steps to reach 0 when starting from k = 3^n and repeatedly applying the map that replaces k with k - (sum of digits in base-3 representation of k).

Original entry on oeis.org

1, 2, 4, 9, 21, 50, 124, 320, 850, 2295, 6251, 17113, 47014, 129606, 358839, 998806, 2796094, 7869801, 22251148, 63141640, 179701240, 512744600, 1466635090, 4205423896, 12087339724, 34816804311, 100469592522, 290336059741, 839932833291, 2432050970421, 7047731703138, 20440131344751, 59334695322384, 172409162871824, 501489513690424
Offset: 0

Views

Author

Antti Karttunen, Aug 13 2015

Keywords

Crossrefs

One more than A261233.
Cf. also A213710.

Formula

a(0) = 1; for n >= 1, a(n) = A261234(n-1) + a(n-1).
a(n) = A261231(3^n).
a(n) = 1 + A261233(n).

Extensions

Terms from a(24) onward added from the output of Hiroaki Yamanouchi's program by Antti Karttunen, Aug 16 2015