Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101291
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101291 Sum of all numbers with n digits. +0
6
45, 4905, 494550, 49495500, 4949955000, 494999550000, 49499995500000, 4949999955000000, 494999999550000000, 49499999995500000000, 4949999999955000000000, 494999999999550000000000 (list; graph; listen)
OFFSET

1,1

FORMULA

sum(x, x=1..9), sum(x, x=10..99), sum(x, x=100..999), sum(x, x=1000..9999), sum(x, x=10000..99999), sum(x, x=100000..999999), sum(x, x=1000000..9999999), sum(x, x=10000000..99999999);

EXAMPLE

a(1) = 1+2+3+4+5+6+7+8+9 = 45

a(2) = 10+11+12+13+14+ ... +97+98+99 = 4905

a(3) = 100+101+102+103+ ... + 997+998+999 = 494550

MAPLE

sum(x, x=1..9), sum(x, x=10..99), sum(x, x=100..999), sum(x, x=1000..9999), sum(x, x=10000..99999), sum(x, x=100000..999999), sum(x, x=1000000..9999999), sum(x, x=10000000..99999999);

MATHEMATICA

f[n_] := 10^n(10^n - 1)/2; Table[ f[n] - f[n - 1], {n, 12}] (from Robert G. Wilson v Dec 24 2004)

CROSSREFS

First differences of A037182.

Sequence in context: A004707 A036521 A093533 this_sequence A061542 A037182 A134229

Adjacent sequences: A101288 A101289 A101290 this_sequence A101292 A101293 A101294

KEYWORD

nonn,base,easy

AUTHOR

Jorge Coveiro (jorgecoveiro(AT)yahoo.com), Dec 21 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 24 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research