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!)
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
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
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Wesley Ivan Hurt, Oct 11 2021
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 14 20:49 EDT 2024. Contains 374323 sequences. (Running on oeis4.)