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.

A007890 Summarize the previous term! (in decreasing order).

Original entry on oeis.org

1, 11, 21, 1211, 1231, 131221, 132231, 232221, 134211, 14131231, 14231241, 24132231, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221, 14233221
Offset: 1

Views

Author

Keywords

Examples

			For example, the term after 131221 is obtained by saying "one 3, two 2's, three 1's", which gives 13-22-31, i.e. 132231.
		

Crossrefs

Programs

  • Mathematica
    Nest[Append[#, FromDigits@ Flatten@ Map[Reverse, Tally@ ReverseSort@ IntegerDigits@ #[[-1]] ] ] &, {1}, 24] (* Michael De Vlieger, Jul 15 2020 *)

Formula

From Seiichi Manyama, Aug 18 2020: (Start)
a(1) = 1 and a(n) = A244112(a(n-1)) for n > 1.
a(n) = 14233221 for n >= 13. (End)