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!)
A213039 a(n) = n^3 - floor(n/3)^3. 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
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 A350163
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 08:08 EDT 2024. Contains 371782 sequences. (Running on oeis4.)