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!)
A213039 n^3-[n/3]^3, where [] = floor. 1
0, 1, 8, 26, 63, 124, 208, 335, 504, 702, 973, 1304, 1664, 2133, 2680, 3250, 3971, 4788, 5616, 6643, 7784, 8918, 10305, 11824, 13312, 15113, 17064, 18954, 21223, 23660, 26000, 28791, 31768, 34606, 37973, 41544, 44928, 48925, 53144, 57122 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..39.

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

FORMULA

a(n) = a(n-1)+3*a(n-3)-3*a(n-4)-3*a(n-6)+3*a(n-7)+a(n-9)-a(n-10).

G.f.: (x^2 + 7*x^3 + 18*x^4 + 34*x^5 + 40*x^6 + 30*x^7 + 19*x^8 + 7*x^9)/(1 - x - 3*x^3 + 3*x^4 + 3*x^6 - 3*x^7 - x^9 + x^10).

MATHEMATICA

a[n_] := n^3 - Floor[n/3]^3

Table[a[n], {n, 0, 90}]    (* A213039 *)

LinearRecurrence[{1, 0, 3, -3, 0, -3, 3, 0, 1, -1}, {0, 1, 8, 26, 63, 124, 208, 335, 504, 702}, 90]

CROSSREFS

Sequence in context: A252870 A163121 A250352 * A211640 A002901 A213769

Adjacent sequences:  A213036 A213037 A213038 * A213040 A213041 A213042

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Jun 06 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 21:28 EST 2019. Contains 329937 sequences. (Running on oeis4.)