|
|
A213880
|
|
a(n) = sum of n-digit numbers with distinct nonzero digits.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
REFERENCES
|
H. E. Dudeney, Amusements in Mathematics, Dover, NY, 1917, pp. 17, 160.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 5*(10^n - 1)*8!/(9 - n)!.
|
|
MATHEMATICA
|
Table[5*(10^n - 1)*8!/(9 - n)!, {n, 9}]
|
|
PROG
|
(Magma) [ 5*(10^n-1)*Factorial(8)/Factorial(9-n) : n in [1..9]]
(PARI) vector(9, n, 5*(10^n-1)*8!/(9-n)!)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,fini,full,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|