[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 665 KB, 652x668, SuzyBae06.png [View same] [iqdb] [saucenao] [google]
5095611 No.5095611 [Reply] [Original]

Can anyone tell me a 2nd degree polynomial:
ax^2 + bx + c
that generates primes for x=0,1,...,40
My professor said we can google the answer but I haven't been able to find one.

(I know that x^2 + x + 41 generates primes for x=0,1,..,39 but I need one for x=0,1,...,40)

bumping with my favorite pics

>> No.5095624
File: 65 KB, 450x588, 20110124_iu.jpg [View same] [iqdb] [saucenao] [google]
5095624

bump

>> No.5095640

>(I know that x^2 + x + 41 generates primes for x=0,1,..,39 but I need one for x=0,1,...,40)
(x-1)^2 + (x-1) + 41, then.

>> No.5095641

http://lmgtfy.com/?q=that+generates+primes+for+x%3D0%2C1%2C...%2C40&l=1

>> No.5095672
File: 298 KB, 959x868, fuckoffhomework.png [View same] [iqdb] [saucenao] [google]
5095672

>> No.5095669
File: 111 KB, 1024x768, Jeon Ji Hyun (8).jpg [View same] [iqdb] [saucenao] [google]
5095669

>>5095640
>>5095641
no i need to find integers a,b,c

>> No.5095676

>>5095669
So simplify my expression until you find them.

>> No.5095678

>>5095672
i accidentally made 2 posts

>> No.5095687

>>5095611
(I know that x^2 + x + 41 generates primes for x=0,1,..,39 but I need one for x=0,1,...,40)
Then obviously the answer is x^2 + x + 42. Wow, kids these days.

>> No.5095718
File: 9 KB, 202x250, imgres.jpg [View same] [iqdb] [saucenao] [google]
5095718

>>5095687
for x = 40:
(40)^2 + (40) + 42 = 1682 which is not prime. jackass.

>> No.5095723
File: 13 KB, 268x268, my-brain-is-full-of-fuck.jpg [View same] [iqdb] [saucenao] [google]
5095723

>>5095669
its in the link

why do i even bother

>> No.5095747
File: 21 KB, 400x300, girl.jpg [View same] [iqdb] [saucenao] [google]
5095747

>>5095723
pay attention to detail. that link gave 40 values for x (x=0,1,...,39). I need 41 values, for x=0,1,...,40.

>> No.5095756

>>5095718
Couldn't just look at x = 0, huh?

>> No.5095753

>>5095747
Given that the answer is right here in this thread, I don't think you're in any position to tell anyone to pay attention.

>> No.5095757

>>5095747
polynomial prime from 0 to distinct primes Sloane reference
56 57 Dress and Landreau (2002), Gupta (2006)
54 55 Wroblewski and Meyrignac (2006)
49 49 Beyleveld (2006)
46 47 Wroblewski and Meyrignac (2006)
45 46 Kazmenko and Trofimov (2006)
44 45 A050268 Fung and Ruby
46 43 S. M. Ruiz (pers. comm., Nov. 20, 2005)
42 43 A050267 Fung and Ruby
42 43 Speiser (pers. comm., Jun. 14, 2005)
40 40 A005846 Euler
39 40 Wroblewski and Meyrignac
34 35 J. Brox (pers. comm., Mar. 27, 2006)
61 31 F. Gobbo (pers. comm., Dec. 27, 2005)
57 29 J. Brox (pers. comm., Mar. 27, 2006)
28 29 A007641 Legendre (1798)
23 24 F. Gobbo (pers. comm., Dec. 26, 2005)
19 20 E. Pegg, Jr. (pers. comm., Jun. 14, 2005)
17 18 A. Bruno (pers. comm., Jun. 12, 2009)
15 16 A007635 Legendre
13 14 A048988 Honaker
10 11 A050265
10 11 A050266

yes i am mad

>> No.5095762
File: 82 KB, 450x600, 5531680_m_5531682_1907.jpg [View same] [iqdb] [saucenao] [google]
5095762

>>5095756
nope

>> No.5095771

>>5095762
Too each his own, I suppose.

>> No.5095776

Enjoy
Fung and Ruby together found 36x2 - 810x + 2753 (45 distinct primes) and 47 x2 - 1701 x + 10181 (43 distinct primes). In 2005, Ruiz found 3x3 - 183x2 + 3318x - 18757 (43 distinct primes), and Speiser found 103x2 - 4707x + 50383 (43 distinct primes)

>> No.5095783
File: 72 KB, 960x638, MIDDLE FINGER OF SCIENCE.jpg [View same] [iqdb] [saucenao] [google]
5095783

a = 0
b = 0
c = 2

>> No.5095789

>>5095783
Well played, good sir.

>> No.5095888
File: 27 KB, 412x352, 1302725264416.jpg [View same] [iqdb] [saucenao] [google]
5095888

>>5095783
>Mfw that's probably the answer and your teacher is laughing his ass off at your class right now

>> No.5095934

>>5095783
Made me lol, especially since I knew that there was a polynomial as OP expected, from reading some wolfram shit a while ago.

>that generates DISTINCT primes for x=0,1,...,40
FTFY OP