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.

A004053 For m=2,3,..., write m in bases 2,3,..,m.

Original entry on oeis.org

10, 11, 10, 100, 11, 10, 101, 12, 11, 10, 110, 20, 12, 11, 10, 111, 21, 13, 12, 11, 10, 1000, 22, 20, 13, 12, 11, 10, 1001, 100, 21, 14, 13, 12, 11, 10, 1010, 101, 22, 20, 14, 13, 12, 11, 10, 1011, 102, 23, 21, 15, 14, 13, 12, 11, 10, 1100, 110, 30, 22, 20, 15, 14, 13, 12, 11, 10
Offset: 2

Views

Author

Johan Boye (johbo(AT)ida.liu.se)

Keywords

Examples

			Triangle begins:
    10;
    11,  10;
   100,  11, 10;
   101,  12, 11, 10;
   110,  20, 12, 11, 10;
   111,  21, 13, 12, 11, 10;
  1000,  22, 20, 13, 12, 11, 10;
  1001, 100, 21, 14, 13, 12, 11, 10;
  ...
		

Crossrefs

Programs

  • Mathematica
    FromDigits/@Flatten[Table[IntegerDigits[m,b],{m,2,20},{b,2,m}],1] (* Harvey P. Dale, Dec 01 2024 *)
  • PARI
    T(n, k) = fromdigits(digits(n, k), 10);
    tabl(nn) = for (n=2, nn, for (b=2, n, print1(T(n, b), ", "))); \\ Michel Marcus, Aug 30 2019