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!)
A213030 a(n) = floor(2*n/3)^2 - floor(n/3)^2. 1
0, 0, 1, 3, 3, 8, 12, 12, 21, 27, 27, 40, 48, 48, 65, 75, 75, 96, 108, 108, 133, 147, 147, 176, 192, 192, 225, 243, 243, 280, 300, 300, 341, 363, 363, 408, 432, 432, 481, 507, 507, 560, 588, 588, 645, 675, 675, 736, 768, 768, 833, 867, 867, 936, 972 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = a(n-1)+2*a(n-3)-2*a(n-4)-a(n-6)+a(n-7).
G.f.: (x^2)*(1 + 2*x + 3*x^3)/((1 - x)^3*(1 + x + x^2)^2).
MATHEMATICA
a[n_] := Floor[2*n/3]^2 - Floor[n/3]^2
Table[a[n], {n, 0, 60}] (* A213030 *)
LinearRecurrence[{1, 0, 2, -2, 0, -1, 1}, {0, 0, 1, 3, 3, 8, 12}, 60] (* Harvey P. Dale, Jul 06 2021 *)
CROSSREFS
Sequence in context: A358834 A346005 A276552 * A364468 A303902 A090597
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 05 2012
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 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)