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 11-20 of 25 results. Next

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

Original entry on oeis.org

9, 19, 1911, 3119, 192113, 13311219, 19411223, 1322311419, 1941142322, 3213243119, 1931331422, 2214313319, 1931331422, 2214313319, 1931331422, 2214313319, 1931331422, 2214313319, 1931331422, 2214313319, 1931331422
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {1931331422,2214313319}

Examples

			To get the term after 192113, we say: one 3's, three 1's, one 2's, one 9's, so 13311219
		

Crossrefs

A022508 Describe previous term from the right (method A - initial term is 4).

Original entry on oeis.org

4, 14, 1411, 211411, 21142112, 122112142112, 122112141112212211, 2122112231141112212211, 21221122311421132221221112, 12312211321321121421132221221112
Offset: 0

Views

Author

Keywords

Comments

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

Examples

			The term after 1411 is obtained by saying "two 1's, one 4, one 1", which gives 211411.
		

Crossrefs

Programs

Extensions

More terms from Erich Friedman

A022511 Describe previous term from the right (method A - initial term is 7).

Original entry on oeis.org

7, 17, 1711, 211711, 21172112, 122112172112, 122112171112212211, 2122112231171112212211, 21221122311721132221221112, 12312211321321121721132221221112
Offset: 0

Views

Author

Keywords

Comments

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

Examples

			The term after 1711 is obtained by saying "two 1's, one 7, one 1", which gives 211711.
		

Crossrefs

Programs

  • Mathematica
    NestList[FromDigits@ Flatten@ Map[Reverse@ Flatten@ Tally[#] &, Split@ Reverse@ IntegerDigits[#]] &, 7, 9] (* Michael De Vlieger, Dec 16 2021 *)

Extensions

More terms from Erich Friedman

A022512 Describe previous term from the right (method A - initial term is 8).

Original entry on oeis.org

8, 18, 1811, 211811, 21182112, 122112182112, 122112181112212211, 2122112231181112212211, 21221122311821132221221112, 12312211321321121821132221221112
Offset: 0

Views

Author

Keywords

Comments

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

Examples

			E.g., the term after 1811 is obtained by saying "two 1's, one 8, one 1", which gives 211811.
		

Crossrefs

Programs

  • Mathematica
    split[n_]:=Split[Reverse[IntegerDigits[n]]];
    list1[n_]:=List/@Length/@split[n];riffle1[n_]:=Riffle[split[n],list1[n]];
    tab[n_]:=Table[i,{i,1,2*Length[list1[n]],2}];
    list2[n_]:=Append[riffle1[n][[#]],riffle1[n][[#+1]]]&/@tab[n];
    flat[n_]:=Flatten/@list2[n];riffle2[n_]:=Riffle[Last/@flat[n],First/@flat[n]];
    a[1]=8; a[n_]:=FromDigits[riffle2[a[n-1]]]; Array[a,10] (* or *)
    IntegerReverse[NestList[FromDigits[Flatten[Replace[Replace[Replace[Split[Reverse[IntegerDigits[#]]],{x_,y_}->{x,Length[{x,y}]},{1}],{x_,y_,z_}->{x,Length[{x,y,z}]},{1}],{x_}->{x,Length[{x}]},{1}]]]&,8,9]] (* Ivan N. Ianakiev, Nov 10 2016 *)

Extensions

More terms from Erich Friedman

A127177 Primes whose "Look And Say" descriptions from right to left (in the sense of method A, i.e., frequency followed by digit-indication) are also primes.

Original entry on oeis.org

3, 7, 71, 103, 113, 163, 173, 311, 313, 331, 337, 349, 373, 757, 773, 797, 919, 953, 977, 991, 1109, 1123, 1151, 1171, 1181, 1213, 1237, 1277, 1279, 1297, 1327, 1423, 1447, 1543, 1553, 1567, 1621, 1663, 1669, 1747, 1811, 1873, 1877, 1889, 1993, 1999, 3049
Offset: 1

Views

Author

Lekraj Beedassy, Jan 07 2007

Keywords

Examples

			71, 331 and 1277, for instance, belong to the sequence because their respective descriptions 1171 (one 1, one 7), 1123 (one 1, two 3's) and 271211 (two 7's, one 2, one 1) are primes.
		

Crossrefs

Programs

  • Mathematica
    LookAndSayA[ n_] := FromDigits@Flatten@((Through[ {Length, First}[ # ] ] &) /@ Split@Reverse@IntegerDigits@n); Select[Prime@Range[450],PrimeQ@LookAndSayA@# &] (* Ray Chandler, Jan 16 2007 *)

Extensions

Extended by Ray Chandler, Jan 16 2007

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

Original entry on oeis.org

1, 11, 21, 1112, 1231, 211312, 223113, 232122, 421113, 13311214, 14411223, 13223124, 14322123, 23322114, 14213223, 23322114, 14213223, 23322114, 14213223, 23322114, 14213223, 23322114, 14213223, 23322114, 14213223
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {23322114,14213223}

Examples

			To get the term after 211312, we say: two 2's, three 1's, one 3's, so 223113.
		

Crossrefs

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

Original entry on oeis.org

2, 12, 1211, 3112, 122113, 133122, 222123, 134211, 31121413, 23411412, 22312413, 23211432, 32231421, 21321423, 23321421, 21321423, 23321421, 21321423, 23321421, 21321423, 23321421, 21321423, 23321421, 21321423
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {21321423,23321421}

Examples

			To get the term after 122113, we say: one 3's, three 1's, two 2's, so 133122
		

Crossrefs

Extensions

Duplicate term 21321423 removed by Georg Fischer, Sep 18 2023

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

Original entry on oeis.org

3, 13, 1311, 3113, 2321, 112213, 133122, 222123, 134211, 31121413, 23411412, 22312413, 23211432, 32231421, 21321423, 23321421, 21321423, 23321421, 21321423, 23321421, 21321423, 23321421, 21321423, 23321421, 21321423
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {21321423,23321421}

Examples

			To get the term after 112213, we say: one 3's, three 1's, two 2's, so 133122
		

Crossrefs

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

Original entry on oeis.org

4, 14, 1411, 3114, 142113, 13311214, 14411223, 13223124, 14322123, 23322114, 14213223, 23322114
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {23322114,14213223}

Examples

			To get the term after 142113, we say: one 3's, three 1's, one 2's, one 4's, so 13311214
		

Crossrefs

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

Original entry on oeis.org

5, 15, 1511, 3115, 152113, 13311215, 15411223, 1322311415, 1541142322, 3213243115, 1531331422, 2214313315, 1531331422, 2214313315, 1531331422, 2214313315, 1531331422, 2214313315, 1531331422, 2214313315, 1531331422
Offset: 0

Views

Author

Keywords

Comments

After a while sequence has period 2 -> {1531331422,2214313315}

Examples

			To get the term after 152113, we say: one 3's, three 1's, one 2's, one 5's, so 13311215
		

Crossrefs

Previous Showing 11-20 of 25 results. Next