|
|
A191244
|
|
a(1)=1; for n>1, a(n) = n*(10^n-1)/9 written in base n.
|
|
1
|
|
|
1, 10110, 110100, 1011130, 3234210, 22142230, 123052510, 523053070, 2520607100, 11111111110, 479110292610, 19641010776330, 80101410369310, 210510130141118110, 1212103125891481260, 315281211715711270, 12138214138151315710, 56015814091312161590, 1780471401817161317410, 6151213981715112481715110
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
For n = 2 through 9, this is the decimal number with n digits all equal to n, then written in base n. For n>9 the reader has to separate the "digits" himself (so this is a fairly unsatisfactory sequence).
|
|
LINKS
|
|
|
EXAMPLE
|
4444 in base 4 is 1011130.
|
|
MAPLE
|
f:=n->n*(10^n-1)/9;
g:=n->convert(f(n), base, n);
for n from 2 to 20 do
t1:=g(n);
t2:=nops(t1);
lprint( [seq(t1[t2+1-i], i=1..t2)]);
|
|
MATHEMATICA
|
Join[{1}, Table[s = FromDigits[Table[n, {n}]]; FromDigits[IntegerDigits[s, n]], {n, 2, 9}]] (* T. D. Noe, Dec 30 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|