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!)
A178397 Partial sums of round(7^n/10). 1
0, 1, 6, 40, 280, 1961, 13726, 96080, 672560, 4707921, 32955446, 230688120, 1614816840, 11303717881, 79126025166, 553882176160, 3877175233120, 27140226631841, 189981586422886, 1329871104960200, 9309097734721400 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Mircea Merca, Inequalities and Identities Involving Sums of Integer Functions J. Integer Sequences, Vol. 14 (2011), Article 11.9.1.
FORMULA
a(n) = round((7*7^n-7)/60) = round((7*7^n+5)/60).
a(n) = floor((7*7^n+17)/60).
a(n) = ceiling((7*7^n-7)/60).
a(n) = a(n-4) + 40*7^(n-3), n > 3.
a(n) = 8*a(n-1) - 8*a(n-2) + 8*a(n-3) - 7*a(n-4), n > 3.
G.f.: -(2*x^2-x)/((x-1)*(7*x-1)*(x^2+1)).
EXAMPLE
a(4) = 0 + 1 + 5 + 34 + 240 = 280.
MAPLE
A178397 := proc(n) add( round(7^i/10), i=0..n) ; end proc:
MATHEMATICA
Accumulate[Floor[7^Range[0, 20]/10+1/2]] (* Harvey P. Dale, Aug 20 2011 *)
PROG
(Magma) [Round((7*7^n-7)/60): n in [0..40]]; // Vincenzo Librandi, Jun 23 2011
(PARI) a(n) = (7*7^n+17)\60; \\ Altug Alkan, Sep 21 2018
CROSSREFS
Sequence in context: A081016 A083426 A122471 * A090041 A069720 A005037
KEYWORD
nonn,less
AUTHOR
Mircea Merca, Dec 28 2010
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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)