cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A034967 Sum of digits of numbers between 0 and (10^n)-1.

Original entry on oeis.org

0, 45, 900, 13500, 180000, 2250000, 27000000, 315000000, 3600000000, 40500000000, 450000000000, 4950000000000, 54000000000000, 585000000000000, 6300000000000000, 67500000000000000, 720000000000000000, 7650000000000000000, 81000000000000000000
Offset: 0

Views

Author

Keywords

References

  • Edward J. Barbeau, Murray S. Klamkin & William O. J. Moser, Five Hundred Mathematical Challenges, Problem 284 at pp. 142-143 (1995).

Crossrefs

Cf. A037123.

Programs

Formula

a(n) = 45*n*10^(n-1).
a(n) = 20*a(n-1) - 100*a(n-2), a(0)=0, a(1)=45. - Harvey P. Dale, Oct 09 2011
G.f.: (45*x)/(10*x-1)^2. - Harvey P. Dale, Oct 09 2011
a(n) = (9*n*10^n)/2. - Harvey P. Dale, Apr 23 2018

Extensions

More terms from James Sellers, Jan 19 2000