Hi, could you tell me how can i prove that 2011 is a prime number, Generally how do i prove such number is prime
You check if every prime smaller than or equal to \(\sqrt{2011}\) can divide 2011.
That is, you check if any number in 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43 divides 2011.
The reason for not checking primes greater than \(\sqrt{2011}\) is that it is redundant. If one factor is greater than \(\sqrt{2011}\), the other factor must be smaller than \(\sqrt{2011}\).
Good, do you have another way ?
search it in wolfram alpha: http://www.wolframalpha.com/input/?i=Is+2011+a+prime+number%3F
Yup i see.
Or you can use a prime factor calculator: http://www.1728.org/prime.htm and this says 2011 is prime.
@wolf1728 and @kc_kennylau 2014! + 1, is it a prime number or not ? ! = factorial
This is 2014!+1 expanded:
5725534635578132510642258177083298976251029836645529181535918014529460166996131020284051621185576543654836005319682428374927987977345599891916487052270848495203597856528357370528977701143690554916467064863235526622970172429203084829642228318574526108540123167232424435465599297527505687752035829447665993985044915162476831677771143132397096001680170890545262656521232716587185644841782343233101199461763875769840379926316680372890331035556626963827976802343154534199704959075303554555456426246571093998097821797622979307264270859688515833061837908941526718332045987433117135619781751042865224610373090720516732835742528449022114609253882617235379174643238736298026848366068877687343294999879661643321861043615279477321583594018271124892574971543632347059328104538945142459387762407740200714278143539754139467403353511472201595539074631689133634276777052346715861422962426961220718613710575194253149551134078042643520137599877522011710390550037726185149397223214546878289976588739402508364805676389504009274987964430825967000367177788225733301999954995372141088467640818498454299505178344337055053122119423845719411318283441045488438860696331230356380670031795597889157743906326393276838807224228766858987997889305108622055962958101465820569976981737050168369825828885096917454696099022352032696936515447641143366867193887028781564192463148481912033068113847917276281964185558716711085855453020986683499716607224888539290362344901623100499910620741697182426047589361756559723582611094119655845859349259145837350941658897251222099327829119655545960013654747984307543961460541762553888014588593596035243715165241718246041573773543702164419399122565743369941724843974651720113349457174953288236289221734922359380415525695136071131077405044165393849768477823841070514659461051603490869306877909434088569792100774180817063480796125553829337754502859260158078335129766942801057458419388881907232190390140057241839405075489194240791830543810015286504986719366148189692833222393889843784742267363381015082619393378142539977101187056367632525756270729232239783064368234069000209054299362862015834270785063580221842378869114506096981660134824952505463847432153969261003561399432882037627295395614544700638687285133354589120421406407256180288286132670834168328163036726274868976860317728595830529920931162861528725710204775065373790498102522605979532311415086699546465791974692628041322577251975445542208209842952698236470693051338988508631903051875499869409537243748338797546034795539567118685214104651931203816641572609287558214424565678301806041877163258556412144723510602579895665966681369547030077867285741084186807077683222868823659760460829777934986366094765222190768148955091471187116537051439959014577544588916185392147358402600284538180372238342573984752943052135313981777436693390139658121333021936258577720179529335513029114734552434303958492112102281806366735459057983447593314184549853694840378698625059569901867914867963743408429650125177728889096830005433663580291547010583494877504549147518707911878979996724256969619949054578035342422842218583820004578431408954598830105626652318406012235499767430353271459235703276442965183219327734133338364611805572536919690997101698507069700128305737012927683642316011217471613938816276028245406205711725730338882768392583079566167486985709996954742710767865160086441167329757626135036221298798804116304544488126803581111502960083669135555889981720367632199401862415602692267434927535831498353946534922182287773124651851137786913646993062247649611812417039901974545532365603997692705949932665154005692754025810675716169791773698477153329582764721331502483165202671404727161926773058035138523608882942279411777769277963257547043457111824608048608648055184865104199785702155777276858014969294156051710031440388051974171804463084982092862155618158349854147981274317273696344041938953240803890249270457431548792529230375445750168285816730592967855295032608129636081377500550196243385318678638730415337322360118667739356439142228496910871647189198217147400491137661645917864886447156905673276023481842354686708287777306346963991403206281836516522730184474118907371149679885823601136532526837682282380738910505866460099797792435166752235031246696199618880685407617585261527994120047572268855487329427398873183794549553991041643257213890481076908552982991864574775296695147511473743672382363315515514767506261225692361573905156011249311177075572915923496091618108637187735481928800101978333324190288304852475385320888303543446162792279506128558769368896846920529551109397142547785050002152796986321458131197413960146138623898335408030728414978576274417647722876665070271017251525824572420576761624648493450990138072091747939357323050588578479787037347598196262678511597394675491546651566372799255988701227921657164397297398997284601636422662347898446912577059139079695524094842617933471114333855297562943341624073999945510029560507158424837090981495835362541786190328049320694247188560432512325339981144241967536853380845148636288492734551032530225510163610711944941447172438699709649172975514827745938788834793926933411774184795228154306559641520299278855903603106092353046694911891701273166479960104736298666689624181809132278194371886184978858660949831815565169786716866126646316450786592397063286064526277587912774207252405898346030113488896000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
so, prime or composite ?
well, eh...
i tried by using wolfram, but it is not working (-_-)''
btw, i got this question from : https://www.facebook.com/groups/pencintamatematika/
I use Mathematica PrimeQ[2014! + 1] the answer was false. It is not a prime.
waw, Mathematica is bravo :)
Join our real-time social learning platform and learn together with your friends!