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!)
A076808 a(n) = 82n^3 - 1228n^2 + 6130n - 5861. 10

%I #28 Aug 02 2023 14:02:36

%S -5861,-877,2143,3691,4259,4339,4423,5003,6571,9619,14639,22123,32563,

%T 46451,64279,86539,113723,146323,184831,229739,281539,340723,407783,

%U 483211,567499,661139,764623,878443,1003091,1139059,1286839,1446923,1619803,1805971

%N a(n) = 82n^3 - 1228n^2 + 6130n - 5861.

%C A prime-generating cubic polynomial.

%C For n=0 ... 31, the absolute value of terms in this sequence are primes. This is not the case for n=32. See A272323 and A272324. - _Robert Price_, Apr 25 2016

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html">Prime-Generating Polynomials</a>

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1).

%F G.f.: (13301*x^3-29515*x^2+22567*x-5861)/(x-1)^4. - _Colin Barker_, Nov 10 2012

%F E.g.f.: (-5861 + 4984*x - 982*x^2 + 82*x^3)*exp(x). - _Ilya Gutkovskiy_, Apr 25 2016

%t Table[82 n^3 - 1228 n^2 + 6130 n - 5861, {n, 0, 31}] (* or *)

%t CoefficientList[Series[(13301 x^3 - 29515 x^2 + 22567 x - 5861)/(x - 1)^4, {x, 0, 31}], x] (* _Michael De Vlieger_, Apr 25 2016 *)

%t LinearRecurrence[{4,-6,4,-1},{-5861,-877,2143,3691},40] (* _Harvey P. Dale_, Jun 18 2018 *)

%o (Maxima) A076808(n):=82*n^3-1228*n^2+6130*n-5861$

%o makelist(A076808(n),n,0,30); /* _Martin Ettl_, Nov 08 2012 */

%o (PARI) a(n)=82*n^3-1228*n^2+6130*n-5861 \\ _Charles R Greathouse IV_, Oct 07 2015

%Y Cf. A050266, A076809, A272323, A272324.

%K easy,sign

%O 0,1

%A Hilko Koning (hilko(AT)hilko.net), Nov 18 2002

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.)