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!)
A318791 Prime generating polynomial: a(n) = 9*n^2 - 249*n + 1763. 0
1523, 1301, 1097, 911, 743, 593, 461, 347, 251, 173, 113, 71, 47, 41, 53, 83, 131, 197, 281, 383, 503, 641, 797, 971, 1163, 1373, 1601, 1847, 2111, 2393, 2693, 3011, 3347, 3701, 4073, 4463, 4871, 5297, 5741, 6203, 6683, 7181, 7697, 8231, 8783, 9353 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This polynomial (9*n^2 - 249*n + 1763) generates 40 distinct primes in succession from n = 1 to 40.
LINKS
FORMULA
From Chai Wah Wu, Feb 12 2019: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3.
G.f.: x*(-1763*x^2 + 3268*x - 1523)/(x - 1)^3. (End)
a(n) = p(41 - 3*n), where p(n) = n^2 + n + 41 is Euler's prime generating polynomial - see A202018 and A005846. - Peter Bala, Jun 10 2021
MAPLE
seq(9*n^2-249*n+1763, n=1..50); # Muniru A Asiru, Dec 19 2018
MATHEMATICA
Array[9#^2 - 249# + 1763 &, 50] (* Amiram Eldar, Dec 15 2018 *)
CROSSREFS
Sequence in context: A263983 A031756 A226702 * A087867 A073104 A031537
KEYWORD
nonn,easy
AUTHOR
Arashdeep Singh, Dec 15 2018
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 May 12 14:44 EDT 2024. Contains 372481 sequences. (Running on oeis4.)