Five! Allright, we'regoingtoseeiffiveisprime. Now a lotofpeopleathome, becausepeoplewhowatchNumberphiletendtobeintomathematicsknowthatfiveisprime - spoiler.
Let's saywedon't know. Say "I don't knowiffive's primeornot? Let's doublecheck."
tocheckif a numberisprimeornot, andyoudon't evenhavetolookatitsfactors.
Sofor a numberthisbig, firstofallweneedsomething a littlebitmorecleverandsecondlywewanttobesure.
Rightsowewant a similartestwhichguaranteesthatit's primeifwefindit. Andthat's what I'm goingtodonow.
Allright, forthebigfellowswe'regoingtoneed a differentsequenceandagainit's ourfriendLucas. What a guy. What a mathematician. And a guycalledLehmerwhowenevermetbecausehelivedmuchlaterafterhimandhewas a FrenchandAmerican
Butthetroublewiththelastnumberisyouknowit's notgoingtobeanevennumber, youknowit's notgoingtobe a five, youknowit's notgoingtobe a zero. Turnsoutit's a one. Thereitis.
Ifyouwanttocheck a normalnumberifit's prime, a smallone, youjustseeifanynumbersdivideintoit.