login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008130 a(n) = floor(n/3)*ceiling(n/3). 2
0, 0, 0, 1, 2, 2, 4, 6, 6, 9, 12, 12, 16, 20, 20, 25, 30, 30, 36, 42, 42, 49, 56, 56, 64, 72, 72, 81, 90, 90, 100, 110, 110, 121, 132, 132, 144, 156, 156, 169, 182, 182, 196, 210, 210, 225, 240, 240, 256, 272, 272, 289 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

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

FORMULA

From R. J. Mathar, Jan 27 2011: (Start)

a(n) = A002264(n)*A002264(n+2).

G.f. -x^3*(1+x) / ( (1+x+x^2)^2*(x-1)^3 ). (End)

MAPLE

A008130:=n->ceil(n/3)*floor(n/3); seq(A008130(n), n=0..60); # Wesley Ivan Hurt, Feb 01 2014

MATHEMATICA

f[n_]:=Ceiling[n/3]*Floor[n/3]; Table[f[n], {n, 0, 5!}] (* Vladimir Joseph Stephan Orlovsky, Mar 01 2010 *)

CoefficientList[Series[- x^3 (1 + x) / ((1 + x + x^2)^2 (x - 1)^3), {x, 0, 60}], x] (* Vincenzo Librandi, Jun 10 2013 *)

LinearRecurrence[{1, 0, 2, -2, 0, -1, 1}, {0, 0, 0, 1, 2, 2, 4}, 60] (* Harvey P. Dale, Dec 31 2016 *)

PROG

(MAGMA) [Floor(n/3)*Ceiling(n/3): n in [0..60]]; // Vincenzo Librandi, Jun 10 2013

CROSSREFS

Sequence in context: A039731 A005341 A137268 * A055388 A065457 A280366

Adjacent sequences:  A008127 A008128 A008129 * A008131 A008132 A008133

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

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 June 2 10:43 EDT 2020. Contains 334770 sequences. (Running on oeis4.)