OFFSET
2,1
COMMENTS
The base-n expansion of a(n) is the concatenations of the expansions of n in bases 2, 3, ..., n-1, n, 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 2 = 1,0,0, then 4 in base 3 = 1,1, and 4 in base 4 = 1,0. The full string we now have is '1,0,0,1,1,1,0', which is the base-4 expansion of the number a(4) = 1*4^6 + 0*4^5 + 0*4^4 + 1*4^3 + 1*4^2 + 1*4^1 + 0*4^0 = 4180.
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