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!)
A178744 Partial sums of floor(4^n/9). 2
0, 0, 1, 8, 36, 149, 604, 2424, 9705, 38832, 155340, 621373, 2485508, 9942048, 39768209, 159072856, 636291444, 2545165797, 10180663212, 40722652872, 162890611513, 651562446080, 2606249784348, 10424999137421, 41699996549716, 166799986198896 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Partial sums of A037597.
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((8*4^n - 24*n - 17)/54).
a(n) = floor(4*(4^n - 3*n - 1)/27).
a(n) = ceiling((4*4^n - 12*n - 13)/27).
a(n) = round(4*(4^n - 3*n - 1)/27).
a(n) = a(n-3) + (7*4^(n-2) - 4)/3 , n > 3.
a(n) = 5*a(n-1) - 4*a(n-2) + a(n-3) - 5*a(n-4) + 4*a(n-5), n > 5.
G.f.: x^2*(1+3*x) / ( (1-4*x)*(1+x+x^2)*(1-x)^2 ).
EXAMPLE
a(4) = 0 + 1 + 7 + 28 = 36.
MAPLE
A178744 := proc(n) add( floor(4^i/9), i=0..n) ; end proc:
MATHEMATICA
Table[Floor[4*(4^n-3*n-1)/27], {n, 0, 30}] (* G. C. Greubel, Jan 24 2019 *)
PROG
(Magma) [&+[Floor(4^k/9): k in [0..n]]: n in [0..25]]; // Bruno Berselli, Apr 26 2011
(PARI) vector(30, n, n--; (4*(4^n-3*n-1)/27)\1) \\ G. C. Greubel, Jan 24 2019
(Sage) [floor(4*(4^n-3*n-1)/27) for n in (0..30)] # G. C. Greubel, Jan 24 2019
CROSSREFS
Cf. A037597.
Sequence in context: A000427 A000428 A083597 * A200707 A344207 A055918
KEYWORD
nonn
AUTHOR
Mircea Merca, Dec 26 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 April 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)