login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126420 a(n) = n^3 - n - 1. 14
-1, 5, 23, 59, 119, 209, 335, 503, 719, 989, 1319, 1715, 2183, 2729, 3359, 4079, 4895, 5813, 6839, 7979, 9239, 10625, 12143, 13799, 15599, 17549, 19655, 21923, 24359, 26969, 29759, 32735, 35903, 39269, 42839, 46619, 50615, 54833, 59279, 63959, 68879, 74045, 79463 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Given three consecutive numbers x=n-2, y=n-1 and z=n, the sum over all products is x*y*z + x*y + x*z + y*z + x + y + z = n^3 - n - 1 = a(n). - J. M. Bergot, Aug 25 2011

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).

FORMULA

For n > 1, a(n) = floor(n^6/(n^3+n+1)). - Gary Detlefs, Feb 10 2010

G.f.: x*(-1 + 9*x - 3*x^2 + x^3) / (x-1)^4. - R. J. Mathar, Aug 28 2011

a(-n) = -A061600(n). - Bruno Berselli, Aug 29 2011

E.g.f.: (-1 + 6*x + 6*x^2 + x^3)*exp(x) = -E(0) where E(k) = 1 - 6*x/(1 - x/(1 + x - x/(6 + x - 6/(1 - x^2*(k+1)/E(k+1) )))); (recursively defined continued fraction). - Sergei N. Gladkovskii, Jan 09 2013

MATHEMATICA

a = {}; Do[AppendTo[a, x^3 - x - 1], {x, 1, 100}]; a

PROG

(MAGMA) [n^3-n-1: n in [1..50]]; // Vincenzo Librandi, Aug 29 2011

CROSSREFS

Cf. A002327, A116581.

Sequence in context: A098499 A075565 A075707 * A246607 A116581 A093622

Adjacent sequences:  A126417 A126418 A126419 * A126421 A126422 A126423

KEYWORD

sign,easy

AUTHOR

Artur Jasinski, Dec 26 2006

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 October 20 08:34 EDT 2019. Contains 328253 sequences. (Running on oeis4.)