OFFSET
2,1
COMMENTS
The base-n expansion of a(n) is the concatenations of the expansions of n in bases n, n-1, ..., 3, 2, regarding all the coefficients as numbers in the range 0 to n-1.
LINKS
Hiroaki Yamanouchi, Table of n, a(n) for n = 2..100
EXAMPLE
For n = 4 we first find 4 in base 4 = 1,0, then 4 in base 3 = 1,1, and 4 in base 2 = 1,0,0. The full string we now have is '1,0,1,1,1,0,0'. This is the base-4 expansion of the number a(4) = 1*4^6 + 0*4^5 + 1*4^4 + 1*4^3 + 1*4^2 + 0*4^1 + 0*4^0 = 4432.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Talha Ali, Sep 25 2014
EXTENSIONS
Definition revised by N. J. A. Sloane, Sep 27 2014
a(7)-a(15) from Hiroaki Yamanouchi, Oct 02 2014
STATUS
approved