login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037182 a(n) = 10^n*(10^n-1) / 2. 2
0, 45, 4950, 499500, 49995000, 4999950000, 499999500000, 49999995000000, 4999999950000000, 499999999500000000, 49999999995000000000, 4999999999950000000000, 499999999999500000000000, 49999999999995000000000000, 4999999999999950000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Sum of all numbers with <= n digits.
LINKS
FORMULA
Sum_{i=1..10^n-1} i = the (10^n-1)th triangular number (A000217). - Marvin Ray Burns
From Chai Wah Wu, Mar 17 2018: (Start)
a(n) = 110*a(n-1) - 1000*a(n-2) for n > 1.
G.f.: 45*x/((10*x - 1)*(100*x - 1)). (End)
MATHEMATICA
a[n_] := 10^n(10^n - 1)/2; Table[ a[n], {n, 0, 12}] (* Robert G. Wilson v, Dec 24 2004 *)
CROSSREFS
Partial sums of A101291.
Sequence in context: A093533 A101291 A061542 * A178632 A134229 A364172
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)