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!)
A089904 Sum of digits of numbers between 0 and (2/9)*(10^n-1). 6
0, 3, 109, 2055, 30501, 404947, 5049393, 60493839, 704938285, 8049382731, 90493827177, 1004938271623, 11049382716069, 120493827160515, 1304938271604961, 14049382716049407, 150493827160493853 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
From a suggestion of Yalcin Aktar
LINKS
FORMULA
a(n) = s(2, n-1) where s(a, k)=a*(k+1)+a^2*sum(i=0, k, i*10^(k-i))+sum(i=0, k, 5*a*(9*(k-i)+a- 1)*10^(k-i-1)).
a(n) = (-77*(-1+10^n)+9*(14+9*10^n)*n)/81. G.f.: x*(80*x^2+43*x+3) / ((x-1)^2*(10*x-1)^2). - Colin Barker, Jun 14 2013
CROSSREFS
Sequence in context: A041635 A272572 A142533 * A092252 A338472 A201001
KEYWORD
nonn,base,easy
AUTHOR
Benoit Cloitre, Nov 14 2003
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 20 07:43 EDT 2024. Contains 371799 sequences. (Running on oeis4.)