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

 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 Index entries for linear recurrences with constant coefficients, signature (3,-3,2,-3,3,-1). 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 * A213769 A301647 A050471 Adjacent sequences:  A002898 A002899 A002900 * A002902 A002903 A002904 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 7 11:56 EDT 2020. Contains 336276 sequences. (Running on oeis4.)