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!)
A178460 Partial sums of floor(2^n/127). 2
0, 0, 0, 0, 0, 0, 1, 3, 7, 15, 31, 63, 127, 256, 514, 1030, 2062, 4126, 8254, 16510, 33023, 66049, 132101, 264205, 528413, 1056829, 2113661, 4227326, 8454656, 16909316, 33818636, 67637276 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
Partials sums of A117302.
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((14*2^n - 127*n + 75)/889).
a(n) = floor((14*2^n - 127*n + 284)/889).
a(n) = ceiling((14*2^n - 127*n - 134)/889).
a(n) = round((14*2^n - 127*n - 14)/889).
a(n) = a(n-7) + 2^(n-6) - 1, n > 6.
a(n) = 3*a(n-1) - 2*a(n-2) + a(n-7) - 3*a(n-8) + 2*a(n-9), n > 9.
G.f.: -x^7/((2*x-1)*(x-1)^2*(x^6 + x^5 + x^4 + x^3 + x^2 + x + 1)).
From Seiichi Manyama, Dec 22 2023: (Start)
a(n) = Sum_{k=0..n} 2^(n-k) * floor(k/7).
a(n) = floor(2^(n+1)/127) - floor((n+1)/7). (End)
EXAMPLE
a(10) = a(3) + 2^4 - 1 = 15.
MAPLE
A178460 := proc(n) add( floor(2^i/127), i=0..n) ; end proc:
PROG
(Magma) [Round((14*2^n-127*n+75)/889): n in [1..40]]; // Vincenzo Librandi, Jun 21 2011
CROSSREFS
Cf. A117302.
Sequence in context: A168604 A123121 A117060 * A351755 A057613 A325920
KEYWORD
nonn,less
AUTHOR
Mircea Merca, Dec 22 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 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)