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.

A022500 Describe the previous term! (method B - initial term is 4).

Original entry on oeis.org

4, 41, 4111, 4113, 411231, 4112213111, 411222113113, 41122312311231, 4112223111213112213111, 41122331132111311222113113, 411222321231211331122312311231
Offset: 1

Views

Author

Keywords

Comments

Method B = 'digit'-indication followed by 'frequency'.

Examples

			E.g. the term after 4113 is obtained by saying "4 once, 1 twice, 3 once", which gives 411231.
		

Crossrefs

Programs

  • Mathematica
    a[1] = 4;
    a[n_] := a[n] = {#[[1]], Length[#]}& /@ Split[a[n-1] // IntegerDigits] // Flatten // FromDigits;
    Array[a, 11] (* Jean-François Alcover, Jul 13 2016 *)