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!)
A147974 a(n) = n^3-((n-1)^3+(n-2)^3+(n-3)^3). 1
10, 8, 18, 28, 26, 0, -62, -172, -342, -584, -910, -1332, -1862, -2512, -3294, -4220, -5302, -6552, -7982, -9604, -11430, -13472, -15742, -18252, -21014, -24040, -27342, -30932, -34822, -39024, -43550, -48412, -53622, -59192, -65134, -71460 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: -2*x*(18*x^3-23*x^2+16*x-5)/(x-1)^4. [Colin Barker, Oct 29 2012]
MATHEMATICA
lst={}; Do[k=n^3-((n-1)^3+(n-2)^3+(n-3)^3); AppendTo[lst, k], {n, 5!}]; lst
PROG
(Python)
def a(n): return n**3-((n-1)**3+(n-2)**3+(n-3)**3)
print([a(n) for n in range(1, 37)]) # Michael S. Branicky, Oct 08 2021
CROSSREFS
Cf. A147973.
Sequence in context: A291424 A357473 A065691 * A213553 A317813 A038310
KEYWORD
sign,easy
AUTHOR
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 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)