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!)
A034324 a(n) = (n-1)*(n-2)*(n-3) + n. 2
1, 2, 3, 10, 29, 66, 127, 218, 345, 514, 731, 1002, 1333, 1730, 2199, 2746, 3377, 4098, 4915, 5834, 6861, 8002, 9263, 10650, 12169, 13826, 15627, 17578, 19685, 21954, 24391, 27002, 29793, 32770, 35939, 39306, 42877, 46658, 50655, 54874, 59321 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
(n*a(n+1)^3+1)/(n^3+1) is the smallest integer of the form (n*k^3+1)/(n^3+1). - Benoit Cloitre, May 02 2002
LINKS
Dorin Andrica and Ovidiu Bagdasar, On k-partitions of multisets with equal sums, The Ramanujan J. (2021) Vol. 55, 421-435.
FORMULA
a(n) = (n-2)^3 + 2 = A084380(n-2). - Philippe Deléham, Feb 23 2014
a(n+1) = A002061(n)*(n-2) + 3. - Philippe Deléham, Feb 23 2014
G.f.: x*(1-2*x+x^2+6*x^3)/(1-x)^4. - Philippe Deléham, Feb 23 2014
E.g.f.: 6 + (x^3-3*x^2+7*x-6)*exp(x). - Nikolaos Pantelidis, Feb 06 2023
MAPLE
seq( (n-2)^3 +2, n=1..50); # G. C. Greubel, Aug 23 2019
MATHEMATICA
Table[(n-3)(n-2)(n-1)+n, {n, 50}] (* or *) Table[n^3+2, {n, -1, 50}] (* Vladimir Joseph Stephan Orlovsky, Apr 15 2011 *)
CoefficientList[Series[(1 -2x +x^2 +6x^3)/(1-x)^4, {x, 0, 50}], x] (* Vincenzo Librandi, Feb 24 2014 *)
LinearRecurrence[{4, -6, 4, -1}, {1, 2, 3, 10}, 50] (* Harvey P. Dale, Aug 06 2018 *)
PROG
(PARI) a(n)=(n-3)*(n-2)*(n-1)+n \\ Charles R Greathouse IV, Jul 02 2016
(Magma) [(n-2)^3 +2: n in [1..50]]; // G. C. Greubel, Aug 23 2019
(Sage) [(n-2)^3 +2 for n in (1..50)] # G. C. Greubel, Aug 23 2019
(GAP) List([1..50], n-> (n-2)^3 +2); # G. C. Greubel, Aug 23 2019
CROSSREFS
Sequence in context: A058953 A160909 A004980 * A084380 A363139 A286814
KEYWORD
easy,nonn
AUTHOR
Laurence Michaels (guardian(AT)ntplx.net)
EXTENSIONS
Extended and corrected by Erich Friedman
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 March 29 10:22 EDT 2024. Contains 371268 sequences. (Running on oeis4.)