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.

Showing 1-3 of 3 results.

A063432 Triangle read by rows in which k-th entry in row n is representation of n in base k, for 1 <= k <= n.

Original entry on oeis.org

1, 11, 10, 111, 11, 10, 1111, 100, 11, 10, 11111, 101, 12, 11, 10, 111111, 110, 20, 12, 11, 10, 1111111, 111, 21, 13, 12, 11, 10, 11111111, 1000, 22, 20, 13, 12, 11, 10, 111111111, 1001, 100, 21, 14, 13, 12, 11, 10, 1111111111, 1010, 101, 22, 20, 14, 13
Offset: 1

Views

Author

Henry Bottomley, Jul 20 2001

Keywords

Comments

Representation of n in base 1 is defined to be a concatenation of n 1's.
It is difficult to write twenty-one in base 11 using decimal digits.
Representation in bases greater than 10 are written in base 10. This is really nasty! - N. J. A. Sloane, Dec 06 2002

Examples

			Rows start (1), (11, 10), (111, 11, 10), (1111, 100, 11, 10), etc.
		

Crossrefs

Cf. A063431.
Columns are truncated versions of A000042, A007088, A007089, A007090, A007091, A007092, A007093, A007094, A007095, A000027 and perhaps A055649, etc.
Without the 1st column becomes A004053.

Programs

  • Mathematica
    f[n_] := Flatten[ Append[ {FromDigits[ Table[1, {n}]] }, Table[ FromDigits[ IntegerDigits[n, i]], {i, 2, n}]]]; Flatten[ Table[ f[n], {n, 1, 10}]] (* Robert G. Wilson v *)

A094327 a(n) = 9 written in base n.

Original entry on oeis.org

111111111, 1001, 100, 21, 14, 13, 12, 11, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
Offset: 1

Views

Author

N. J. A. Sloane, Jun 04 2004

Keywords

Comments

The term 111....1111 should officially be called the "unary expansion", since in base 1 only the digit 0 may appear.

Crossrefs

Programs

  • Mathematica
    Join[{111111111},Table[FromDigits[IntegerDigits[9,n]],{n,2,90}]] (* Stefano Spezia, Nov 10 2023 *)

Formula

G.f.: x*(111111111 - 111110110*x - 901*x^2 - 79*x^3 - 7*x^4 - x^5 - x^6 - x^7 - x^8 - x^9)/(1 - x). - Stefano Spezia, Nov 10 2023

A063431 Square array read by antidiagonals of n written in base k (n,k>0).

Original entry on oeis.org

1, 1, 11, 1, 10, 111, 1, 2, 11, 1111, 1, 2, 10, 100, 11111, 1, 2, 3, 11, 101, 111111, 1, 2, 3, 10, 12, 110, 1111111, 1, 2, 3, 4, 11, 20, 111, 11111111, 1, 2, 3, 4, 10, 12, 21, 1000, 111111111, 1, 2, 3, 4, 5, 11, 13, 22, 1001, 1111111111, 1, 2, 3, 4, 5, 10, 12, 20, 100
Offset: 1

Views

Author

Henry Bottomley, Jul 20 2001

Keywords

Comments

It is difficult to write ten in base 11 using decimal digits.

Examples

			Rows start (1, 1, 1, 1, 1,...), (11, 10, 2, 2, 2,...), (111, 11, 10, 3, 3,...), (1111, 100, 11, 10, 4,...), etc.
		

Crossrefs

Showing 1-3 of 3 results.