login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240134 Numerator of (n-1) * ceiling(n/2) / n. 1
0, 1, 4, 3, 12, 5, 24, 7, 40, 9, 60, 11, 84, 13, 112, 15, 144, 17, 180, 19, 220, 21, 264, 23, 312, 25, 364, 27, 420, 29, 480, 31, 544, 33, 612, 35, 684, 37, 760, 39, 840, 41, 924, 43, 1012, 45, 1104, 47, 1200, 49, 1300, 51, 1404, 53, 1512, 55, 1624, 57, 1740, 59, 1860, 61, 1984, 63, 2112, 65 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

A046092 Union A005408.

LINKS

Table of n, a(n) for n=1..66.

Index entries for linear recurrences with constant coefficients, signature (0,3,0,-3,0,1).

FORMULA

a(2n) = 2n-1. a(2n-1) = 2n(n-1).

a(n) = 3*a(n-2)-3*a(n-4)+a(n-6). G.f.: x^2*(x^4-4*x-1) / ((x-1)^3*(x+1)^3). - Colin Barker, Apr 02 2014

a(n) = n - 1 + (2*floor((n+2)/2)^2 - 2*floor((n+2)/2) - n + 1) * (n mod 2). - Wesley Ivan Hurt, Apr 02 2014

MAPLE

A240134:=n->numer( (n-1)*ceil(n/2) / n ); seq(A240134(n), n=1..100);

MATHEMATICA

Table[Numerator[(n - 1) Ceiling[n/2] / n], {n, 100}]

PROG

(PARI) concat(0, Vec(x^2*(x^4-4*x-1)/((x-1)^3*(x+1)^3) + O(x^100))) \\ Colin Barker, Apr 02 2014

CROSSREFS

Bisections: A046092 and A005408.

Sequence in context: A121844 A091512 A106285 * A193800 A061727 A327916

Adjacent sequences:  A240131 A240132 A240133 * A240135 A240136 A240137

KEYWORD

nonn,easy

AUTHOR

Wesley Ivan Hurt, Apr 02 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 14:15 EST 2019. Contains 329806 sequences. (Running on oeis4.)