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.

Previous Showing 21-24 of 24 results.

A138491 Say what you see in previous term, from the right, reporting total number for each digit encountered. Initial term is 7.

Original entry on oeis.org

7, 17, 1711, 3117, 172113, 13311217, 17411223, 1322311417, 1741142322, 3213243117, 1731331422, 2214313317, 1731331422, 2214313317, 1731331422, 2214313317, 1731331422, 2214313317, 1731331422, 2214313317, 1731331422
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {1731331422,2214313317}

Examples

			To get the term after 172113, we say: one 3's, three 1's, one 2's, one 7's, so 13311217
		

Crossrefs

A138492 Say what you see in previous term, from the right, reporting total number for each digit encountered. Initial term is 8.

Original entry on oeis.org

8, 18, 1811, 3118, 182113, 13311218, 18411223, 1322311418, 1841142322, 3213243118, 1831331422, 2214313318, 1831331422, 2214313318, 1831331422, 2214313318, 1831331422, 2214313318, 1831331422, 2214313318, 1831331422
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {1831331422,2214313318}

Examples

			To get the term after 182113, we say: one 3's, three 1's, one 2's, one 8's, so 13311218
		

Crossrefs

A022509 Describe previous term from the right (method A - initial term is 5).

Original entry on oeis.org

5, 15, 1511, 211511, 21152112, 122112152112, 122112151112212211, 2122112231151112212211, 21221122311521132221221112, 12312211321321121521132221221112
Offset: 0

Views

Author

Keywords

Comments

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

Examples

			The term after 1511 is obtained by saying "two 1's, one 5, one 1", which gives 211511.
		

Crossrefs

Extensions

More terms from Erich Friedman

A022510 Describe previous term from the right (method A - initial term is 6).

Original entry on oeis.org

6, 16, 1611, 211611, 21162112, 122112162112, 122112161112212211, 2122112231161112212211, 21221122311621132221221112, 12312211321321121621132221221112
Offset: 0

Views

Author

Keywords

Comments

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

Examples

			E.g., the term after 1611 is obtained by saying "two 1's, one 6, one 1", which gives 211611.
		

Crossrefs

Programs

  • Mathematica
    a[1]=6; a[n_]:= a[n]= IntegerReverse[ FromDigits[ Flatten[ Replace[ Replace[ Replace[ Split[ IntegerDigits[a[n-1]]], {x_,y_}->{x,Length[{x,y}]},{1}], {x_,y_,z_}->{x,Length[{x,y,z}]},{1}], {x_}->{x,Length[{x}]},{1}]]]];
    Array[a,10] (* Ivan N. Ianakiev, Jul 23 2019 *)
  • Python
    from re import split
    A022510_list, l = [6], '6'
    for _ in range(10):
        l = ''.join(str(len(d))+d[0] for d in split('(0+|1+|2+|3+|4+|5+|6+|7+|8+|9+)',l[::-1]) if d)
        A022510_list.append(int(l)) # Chai Wah Wu, Jan 02 2015

Extensions

More terms from Erich Friedman
Previous Showing 21-24 of 24 results.