login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034967 Sum of digits of numbers between 0 and (10^n)-1. 9
0, 45, 900, 13500, 180000, 2250000, 27000000, 315000000, 3600000000, 40500000000, 450000000000, 4950000000000, 54000000000000, 585000000000000, 6300000000000000, 67500000000000000, 720000000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..16.

FORMULA

a(n) = 45*n*10^(n-1)

a(0)=0, a(1)=45, a(n)=20*a(n-1)-100*a(n-2) [From Harvey P. Dale, Oct 09 2011]

G.f.: (45*x)/(10*x-1)^2 [From Harvey P. Dale, Oct 09 2011]

MATHEMATICA

Table[45n 10^(n-1), {n, 0, 20}] (* or *) LinearRecurrence[{20, -100}, {0, 45}, 21] (* From Harvey P. Dale, Oct 09 2011 *)

CROSSREFS

Sequence in context: A024379 A134290 A078761 * A199352 A195466 A010961

Adjacent sequences:  A034964 A034965 A034966 * A034968 A034969 A034970

KEYWORD

nonn,easy,base,changed

AUTHOR

Felice Russo

EXTENSIONS

More terms from James A. Sellers, Jan 19 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 22 16:23 EDT 2013. Contains 225553 sequences.