login
A213880
a(n) = sum of n-digit numbers with distinct nonzero digits.
0
45, 3960, 279720, 16798320, 839991600, 33599966400, 1007999899200, 20159999798400, 201599999798400
OFFSET
1,1
REFERENCES
H. E. Dudeney, Amusements in Mathematics, Dover, NY, 1917, pp. 17, 160.
LINKS
H. E. Dudeney, Amusements in Mathematics [Gutenberg Project Etext]
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
Sequence in context: A184286 A130017 A025755 * A113630 A143004 A004707
KEYWORD
base,easy,fini,full,nonn
AUTHOR
STATUS
approved