|
|
A289380
|
|
Number of 10-digit numbers whose sum of digits is n.
|
|
1
|
|
|
1, 10, 55, 220, 715, 2002, 5005, 11440, 24310, 48619, 92359, 167815, 293215, 494725, 808753, 1284481, 1986490, 2997280, 4419415, 6376951, 9015769, 12502435, 17021245, 22769185, 29948644, 38757862, 49379275, 61966135, 76628035, 93416221, 112309741, 133203565, 155899810, 180103120
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The 10-digit numbers distributed according to the sum of their digits n.
The sequence is symmetrical; a(n) = a(91 - n), 1 <= n <= 91.
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1 - x^10)^9*(x - x^10)/(1 - x)^10.
|
|
EXAMPLE
|
a(2)=10: 1000000001, 1000000010, 1000000100, 1000001000, 1000010000, 1000100000, 1001000000, 1010000000, 110000000, 200000000.
|
|
MATHEMATICA
|
CoefficientList[Series[(1 - x^10)^9*(1 - x^9)/(1 - x)^10, {x, 0, 40}],
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,fini,full,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|