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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127989 a(n) = 2*n^3 - 2*n + 9. 4
9, 21, 57, 129, 249, 429, 681, 1017, 1449, 1989, 2649, 3441, 4377, 5469, 6729, 8169, 9801, 11637, 13689, 15969, 18489, 21261, 24297, 27609, 31209, 35109, 39321, 43857, 48729, 53949, 59529, 65481, 71817, 78549, 85689, 93249, 101241, 109677, 118569 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

All numbers generated by the irreducible polynomial 2*n^3-2*n+9 are composite (indeed, they are multiples of 3). Largest prime factor A127990, smallest prime factor A127991, number of prime factors A127992.

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

a(n) = 2*(n-1)*n*(n+1)+9 = 3*(2*A007290(n+1)+3).

G.f.: 3*x*(3-5*x+9*x^2-3*x^3)/(1-x)^4. - Bruno Berselli, Sep 09 2011

MATHEMATICA

Table[2x^3 - 2x + 9, {x, 1, 100}]

LinearRecurrence[{4, -6, 4, -1}, {9, 21, 57, 129}, 50] (* G. C. Greubel, May 08 2018 *)

PROG

(MAGMA) [2*(n-1)*n*(n+1)+9: n in [1..50]]; // Vincenzo Librandi, Sep 13 2011

(PARI) a(n)=2*n^3-2*n+9 \\ Charles R Greathouse IV, Sep 30 2015

CROSSREFS

Cf. A127990, A127991, A127992. Subsequence of A017629.

Sequence in context: A216167 A246327 A320896 * A147337 A020290 A020288

Adjacent sequences:  A127986 A127987 A127988 * A127990 A127991 A127992

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski, Feb 10 2007

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 September 24 01:21 EDT 2020. Contains 337315 sequences. (Running on oeis4.)