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!)
A002901 n^3 - floor( n/3 ). 0
0, 1, 8, 26, 63, 124, 214, 341, 510, 726, 997, 1328, 1724, 2193, 2740, 3370, 4091, 4908, 5826, 6853, 7994, 9254, 10641, 12160, 13816, 15617, 17568, 19674, 21943, 24380, 26990, 29781, 32758, 35926, 39293 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f. x*(1+5*x+5*x^2+7*x^3) / ( (1+x+x^2)*(x-1)^4 ). - R. J. Mathar, Mar 08 2013
a(n) = A000578(n)- A002264(n). - Michel Marcus, Jun 19 2013
MATHEMATICA
Table[n^3-Floor[n/3], {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 2, -3, 3, -1}, {0, 1, 8, 26, 63, 124}, 40] (* Harvey P. Dale, Apr 23 2020 *)
PROG
(PARI) a(n) = n^3 - floor( n/3 ) \\ Michel Marcus, Jun 19 2013
CROSSREFS
Sequence in context: A250352 A213039 A211640 * A350163 A213769 A301647
KEYWORD
nonn,easy
AUTHOR
ochavez(AT)spin.com.mx (Oscar Chavez)
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 24 18:03 EDT 2024. Contains 371962 sequences. (Running on oeis4.)