[go: up one dir, main page]

login
Search: a001731 -id:a001731
     Sort: relevance | references | number | modified | created      Format: long | short | data
Triangle read by rows in which k-th entry in row n is representation of n in base k, for 1 <= k <= n.
+10
6
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,2
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
EXAMPLE
Rows start (1), (11, 10), (111, 11, 10), (1111, 100, 11, 10), etc.
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 *)
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.
KEYWORD
base,nonn,tabl
AUTHOR
Henry Bottomley, Jul 20 2001
STATUS
approved
a(n) = 9 written in base n.
+10
3
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,1
COMMENTS
The term 111....1111 should officially be called the "unary expansion", since in base 1 only the digit 0 may appear.
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
MATHEMATICA
Join[{111111111}, Table[FromDigits[IntegerDigits[9, n]], {n, 2, 90}]] (* Stefano Spezia, Nov 10 2023 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Jun 04 2004
STATUS
approved
Square array read by antidiagonals of n written in base k (n,k>0).
+10
1
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,3
COMMENTS
It is difficult to write ten in base 11 using decimal digits.
EXAMPLE
Rows start (1, 1, 1, 1, 1,...), (11, 10, 2, 2, 2,...), (111, 11, 10, 3, 3,...), (1111, 100, 11, 10, 4,...), etc.
CROSSREFS
KEYWORD
base,nonn,tabl
AUTHOR
Henry Bottomley, Jul 20 2001
STATUS
approved

Search completed in 0.006 seconds