login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A109941
Sum of all n-digit multiples of n.
2
45, 2430, 165150, 12370500, 989955000, 82499850000, 7071428928571, 618749955000000, 55000000350000000, 4949999995500000000, 449999999955000000000, 41250000000150000000000, 3807692307689192307692307, 353571428571466428571428572, 32999999999999850000000000000
OFFSET
1,1
EXAMPLE
a(2) = 2430, a(2) = 10 +12+...+96+98 = 45*(10+98)/2.
MATHEMATICA
Table[Sum[i, {i, n*Ceiling[(10^(n - 1))/n], 10^n - 1, n}], {n, 15}] (* Hans Havermann *)
CROSSREFS
Sequence in context: A342405 A279439 A251443 * A035097 A184286 A130017
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jul 19 2005
EXTENSIONS
More terms from Hans Havermann, Jul 22 2005
STATUS
approved