Primality Certificate for (2153^3877-1)/2152 |
| Andy Steward | 12,919 digits | 06 May 2008 |
| Originally by Tom Wu 2005 |
This certificate uses a theorem of
Brillhart, Lehmer and Selfridge
to prove an integer N prime
by making use of a partial prime factorization of
N-1.
Factorizing N-1
As N is a Generalized Repunit,
we make use of the algebraic factorization of N-1
to arrive at the following 40.257103% factorization of N-1:
| From | Factorisation |
| 2153 | 2153
|
| Φ2 | 2 · 3 · 359
|
| Φ3 | 7 · 241 · 2749
|
| Φ4 | 2 · 5 · 13 · 181 · 197
|
| Φ6 | 3 · 523 · 2953
|
| Φ12 | 21487011961873
|
| Φ17 | 103 · 113153 · 260543 · p41
|
| Φ19 | 191 · 18773 · 76913 · 162413 · 2385451 · 9728039 · 489840916867669 · 1941582504686789
|
| Φ34 | 1631643919 · 4856701373 · p35
|
| Φ38 | 571 · 4751 · 21902479 · p47
|
| Φ51 | 307 · 22355450314724001043 · p85
|
| Φ57 | 17685163 · 31181871433 · 129729632187670087579 · 14452871940069278131535671 · p57
|
| Φ68 | 137 · 11138099593347413 · p89
|
| Φ76 | 88933301 · 2577561120097 · 39980813208180841 · p84
|
| Φ102 | 919 · 9365859456469 · 20778159325121127575479 · 10070467131767763070047244065999589 · p35
|
| Φ114 | 56431 · c116
|
| Φ204 | 409 · 9181 · 16010074021 · p197
|
| Φ228 | 229 · 12541 · 157827757 · 9559558180444837 · 180140758335193131035592371591353 · p178
|
| Φ323 | 647 · 72353 · 1254326384783387 · c938
|
| Φ646 | c960
|
| Φ969 | 7753 · 6899281 · 107161131605839 · c1896
|
| Φ1292 | 905693 · 697121857 · c1906
|
| Φ1938 | 13567 · 9984159331 · c1906
|
| Φ3876 | 3877 · 8773841509 · 871963914352258190269 · p3806
|
From this partial factorization, we use sufficient of the largest prime
factors of N-1 so that their product F is at least N
1/3
:
| 156508 5848661701 8150580076 6490803860 0452082952 6759818258 1040774984 2685754258 6613415690 1669069992 5264069385 6506621664 8672441005 4030664017 9442794217 1894258890 5022275428 9651213419 5300353738 6974014049 2564409585 4129223562 0537909754 9251849227 6364699661 8360055148 0069694360 8840999756 7731619361 7801451951 9235875431 8886634180 9300762599 9213052343 5152004043 8661632875 3932941797 8558532135 2677711783 3481278731 6829757761 8502122914 1800266901 5715616706 7237507579 2072074005 3262368199 1881653527 1134590813 3205712016 5154996054 4782336242 8850097991 0382340896 4937858276 3742573290 1797077040 7561047941 5152310349 8894802524 0483541976 8250443471 5716115837 9905467207 9391533127 2846756320 3073139062 4168737783 9955301972 5413712255 4852932263 4834819194 1122956468 0068185202 2265011047 5589439475 4436029285 6083380928 5346146035 9093155138 3600667496 8672241629 4748720430 9754906602 4151449732 8854029252 3673962225 9469808939 3942274336 7209835052 3967714778 5445030561 4261646347 8994321980 7226926449 8037349163 5673132228 6231855150 4148336208 6483245113 6397535965 6885495601 4870967137 7561133327 3881069971 1676606175 6890191914 1200215637 0923474346 3175376976 3675348171 4200722621 4059078516 5576452404 5075320291 0605176849 4389382234 6631571516 8999537807 5637626808 8688072684 7850109551 6286417349 6842896073 2977061145 9626628654 7128941728 0572336542 9800538920 4351112052 0062612452 1427074624 4669705837 8094734667 2525918216 9326432275 4776065853 0572070426 6363399823 5426391598 1430866513 4223281447 2812340279 4168119856 7920747877 0084808642 1769617318 7667404037 4417584720 3050381404 3167458843 5628460810 3358650378 2025148621 4374973961 1628884541 4386056378 1620872809 7844723533 2182753535 1198529317 8686217812 5851196444 9959332318 1001795734 6075981337 5772933444 3678406359 1504762155 5900680923 3463139437 7680832382 5818418251 1279558976 3415466042 6577801531 0990116849 1710329530 8435854234 9042209473 5308968566 7763052055 8037889128 7198671550 1532138142 9814877187 3636092272 8208731203 2978045350 8791463456 7375808442 5909195061 4535061151 7683660419 4820779176 6671530434 3209345745 2736022618 9512031993 0681037413 3623056995 6750201095 6415053618 4458671492 8062983178 4809552867 9506111505 2778445846 6484934327 9596296661 0081365780 1563024420 6497725609 5664687348 0543422962 9237809756 2536346205 8219524004 7869375194 7547383454 3868601216 4712965907 7589697843 2540807712 9239743038 2471067486 3691616271 3650475048 4803069419 4321262982 1162163460 7144175162 3004900668 1227621241 4086295766 9052067066 5269609862 5864480224 6909448118 9586083299 6552398435 4153001621 6621077471 7189391293 1242459726 0352871388 1419568393 0276120012 8932174163 3197173670 7800367762 5340014171 6453054471 7881222697 7641432989 5163824985 8215098457 1147405035 3705223828 9393376258 0152894515 5749940926 3317591374 9386828068 6523333656 6088639167 6937171176 8195995785 6559588853 8904968591 4227955546 4390473281 0937418006 2544557987 2717042145 6808404271 2752527441 4084374295 5298793413 2149006323 4811636017 9355201723 7578566067 9613578362 6572909487 0880798176 3517500035 7803920736 4467342544 9397872535 9923872779 5843326123 5313294307 4456678916 4674984799 5095590849 7510196148 5216845521 2440934199 1399381316 4585174366 7891989236 2390325575 5131092092 1479088317 6909807456 8386975655 0230732632 4655928296 3791951278 2164817141 4496953439 4039057906 1435827093 6057762700 3447963221 3748621005 8921743774 4953222532 8061161594 4081687823 7973762765 2206775482 0645871679 7922794590 1718530911 4651213055 1376390417 4912046194 3619829175 0717927403 9781355402 8291504597 2600314515 3105126729 3408580521 0831290926 7909483982 9457922034 1214403318 4674143676 3457552891 3344528343 7223736481 4123964132 9886082944 5102872969 8845199485 5904682577 0362460572 6553409104 9828695502 0086063454 9134711424 9500696111 8997284129 4655000407 3053676052 4473542345 9775037606 8429212994 5883502980 0313426911 8229811079 9969208372 0869066155 5168136122 2218430438 2470370065 4421592026 1714308933 3369250203 3675237888 7239172816 6024533722 8126453815 4296610246 7210106565 4290345916 7661025151 5205733213 |
| 3434087 5824983024 4576539304 0512145405 7933427893 5552478982 2981737455 9009433063 1928505612 1199410938 4736787903 7898986544 2863626509 0878202003 8057958133 4665846421 7165903980 2058236803 8209422117 0562353849 |
| 12211510 8293480986 6638206338 3118124944 2203213832 4049635924 2847631729 8434069063 6720424351 7052015903 2247393344 6372980210 6252101254 0015831614 3691389696 1550321416 7746795293 4553280857 |
| 297767432 7536392893 2901019042 2856616577 8490550907 8424998879 8645453561 0339475434 1695558997 |
| 66173 6962522988 0257330932 4494763514 5083990728 4674848688 1010493679 4900021751 1383022841 |
Note that all prime factors listed above have been proven.
As primes of under 250 decimal digits can be verified in a few seconds,
proof of their primality is not included here, in order to save space.
Larger prime factors can take from hours to months to prove;
certificates for all such factors have been PKZIPped into this file.
We set R = (N-1)/F.
Note that GCD(F,R)=1 and Log(F)/Log(N) = 33.687998%
Finding a Witness to Primality
Next, we find an integer witness w
such that for each prime factor p of N-1,
w(N-1) ≡ 1 mod N and
GCD(w(N-1)/p-1,N) = 1.
In this case, w = 2 suffices.
Given such a witness, Pocklington's Theorem shows that every prime factor of N ≡ 1 (mod F).
As F3>N, N can have no more than two prime factors.
Express N in base F
As F2 < N < F3
and N ≡ 1 (mod F), we can
let N = c2·F2 + c1·F + 1.
- c1= 54 8127648840 0144511460 0686327195 5871316888 9489908801 2335691221 7951384236 9666840137 0945251923 1346948941 5326458748 6045425952 9285683860 9977147477 4533809223 8370719442 0260839251 3786416810 0658951217 8556312252 3657946150 5880909344 0675154253 8801873149 6528661624 0092272343 9919341035 5802444791 4499728216 4150561219 6507166523 5514627542 7803813513 6863283336 5340907967 2555816159 2963905432 8843102273 5749936356 2723378451 1119153608 8659349897 1693533346 8199570084 9086189615 9293766348 5634997945 4554578819 6307824363 1754109522 3753174276 4127054186 3122012689 6591271109 7375260068 0109258674 2473305885 6075992948 2993263705 4972164872 9683220942 1881375946 5046466734 5454559542 4031680677 7466527863 3909329926 5995275223 1692232707 1614465811 8287205926 9842189544 1445069484 6700633907 7740538604 9656579015 1118149292 6650083007 0790373970 7904287208 1629153582 1686930035 2561488359 5857022787 1497862495 4820263668 2768196280 5495745999 0216335762 8872232298 5240162446 0883844772 9945388035 0301071142 1855195222 4417088514 9968544201 2974174169 3398434037 2927644562 7597445196 1306610586 8452004854 3485621421 6287922540 1851374885 8504626756 4475175733 1794296784 9441685874 3867174535 4766933378 3672789312 4458590431 1499178713 1904344893 8860263123 6261337314 3644764360 4552609304 3658551816 3852177696 8659287355 9845365437 5894954656 7658748757 0781333057 2878148213 9914128136 1547897373 2046152590 4192997992 9453012101 0587409765 4695086318 8213772570 5133329154 1922885782 2035256316 0397418770 2038992446 0046540445 9867611939 0149579137 3195362660 2666893702 5846027924 7866878075 1974504293 7699833399 0900869047 7260881879 4533780712 0919896672 2277145483 6282729826 1070540825 5732743561 2859327788 3237967105 1520752235 9396414544 4441874498 3847207528 9713081577 5918860354 5257772394 6253782463 1184920327 1283304253 9941573158 0518306250 3125262499 7070820206 0366851491 1926669841 2120808404 5392911936 7191193717 5455746966 7630464928 5044315510 9883521870 4210716811 5456389392 7389496831 8028414091 8883063432 5674586734 9864303618 8070447465 6819550763 7281546754 3147674677 1076744765 1603597015 6953058302 3340070223 3406597281 2877212294 1432292251 9907466131 0257066389 2539655402 9444208638 0719651283 0735474623 9361171887 3261221463 7364693142 4215780388 4989264109 6251426350 1276831422 4682633712 3320721583 0472075210 9992008012 5459715343 0860479034 1024517131 9204308937 0027699480 4804216713 9912004230 7761297013 2003209523 7070583414 0336295641 9634429840 1450839544 2981514202 1060061855 8800884652 5952841569 9890709467 6010325657 9269943596 4346233091 8581578647 0054336414 2402589974 5376350697 3026324281 3170658585 2464321207 3466341071 1212555507 4526079716 0117095516 4572050693 5924773818 7918183032 8303117739 8338243938 3654923426 1646659586 1089488833 9316727158 9944962869 9419775930 4219253248 4165818033 1647708579 4581072161 5573795850 6703901869 5343241482 7958735005 5981440715 3354318287 8493968789 9037015871 7969072289 0660255265 0262562403 4240311247 0269872294 4849323922 4238237897 6336212719 0330224454 4640955406 2528797487 2676683047 4629733109 5304770718 5983391069 3337445675 7445006117 1914602487 1822859454 8146988079 6441677647 3234564537 6639622898 5391371192 5740199042 0252848412 1779537433 3801613610 6147982401 3649656020 8103710933 5966497521 4812167195 7733178496 7387214860 7475333852 4041229838 5705294454 6509959837 7163132046 3740577420 5068579877 7797174088 9149566450 8199846772 9545578979 6735476022 1237306484 3317559341 4880437662 0629806124 4971886589 8680486757 3133166592 5460073778 3057948400 1456994517 1495030743 9606757317 2318464117 1556144737 0294553759 7487316816 2029117470 2065691129 2955382203 7449393173 2293312468 8489913955 8054148453 5221070983 6807027575 4083307437 6204032874 5232067594 3522724324 3978920272 4989282283 9910046754 5573912476 7111410937 0986284811 8579596776 1376076810 0506242695 8232764066 8511891675 5290603084 2591760357 0424526446 0730016918 8284194457 6025435826 9675950346 4780560368 0890283303 5070775240 2234554701 5181875494 8569994259 6097123131 1414445101 2030637168 1695121693 8815878997 2633414646 7905306865 6005682839 3934604713 0204190183 3913430647 6618211281 3197967100 3998269160 0929743730 4088962132 2989482450 7305118144 8695647167 5170922979 9426892866 2672377029 3375083251 5526454390 1493255595 8549933854 0270309644 0472808183 1281815937 6989634554 2621726405 1106050889 1331587182 3171488480 5750479970 5106102824 0560166844 5118806568 3482457479 5565610819 2613182192 4304272904 5341772497 1635456139 9739157599 1383293455 9320644421 2969392588 7334626661 2273754911 6212755435 9780496334 7734699112 6563346734 1579920459 8663767203 9090378062 7325920767 2169593242 3922451068 2823710672 6682948720
- c2= 45237 4709026950 8566640992 7364990591 0234925293 8990133365 8054363055 3886396417 4469881909 3374638750 7972109554 5395137381 9857219251 1235557651 1259244654 4498795975 1445003166 3861076257 8661124293 4831437115 3498835922 7357914594 6313604518 3032575761 0449018170 3711896108 1907685766 1481832071 1407935614 1405735476 0604810678 5199549952 4412228135 2714709370 7958776401 4194068595 6602935300 5242918409 0463003572 5693205308 6549884474 1876487009 3089833979 0725864425 3867452886 7452877698 1105054094 1152917321 4336205701 1307323016 6425942882 3150116620 8442613697 1397909328 5958150275 5167236981 9297719626 6064554260 6631337252 1787092465 2724637047 7019061930 7437845290 3255105914 1739601167 6511655432 6786685804 2417452275 3536714501 2823958299 4203221097 8196517805 0587329551 0330808208 3696218679 0145901941 4201889470 3230142615 6423779264 9042602171 8370975399 7821086448 1596640307 4340123113 2014602141 6815290238 1797963593 6333998670 6575665627 9706664695 4471306511 0060763269 7500011531 6448693844 0719215459 9626454013 5394266594 7289099945 6336668512 6839307158 8284840302 5053994461 2750982216 8733846879 2336154770 8510679486 5898536348 9420462517 6856300895 7371289254 7884836698 9352821793 3980148419 3822554293 4429048242 9658049120 3425354808 9058188746 8559206998 1090850723 7685875849 0692200247 7111028316 9664086080 1762739736 0785605497 4072350140 2967327374 4538537458 5726699141 9040466386 8398590848 8138641537 4429812564 2808700759 4353628480 7628390752 4210360279 5925575200 8394339015 7711671736 5795008436 3119574270 0520676206 5404426806 4563798486 3675565611 9339324864 7343251635 8031585994 9583059712 9144556573 7138093492 0697869874 9209313895 6080221708 9823306550 3343624384 3561624214 4577597666 9660689283 1797888443 2090526306 7253718354 9255037208 4648111040 8701388246 2786706650 8109744198 6451376961 9665249021 8881686983 5659886531 5509239260 3840314209 9961139698 5390201518 6458061731 2167754320 6270979524 6114464794 1973845827 8007586115 8390935568 9593608055 7896847065 0390175578 5964707393 1332679995 5218362469 0564986246 8314421943 7629022894 9937310104 0847042870 0273005056 3946072748 5417019872 7379524379 3970356803 7096832618 4211454631 4984965942 7937807567 3394297779 8710415816 7785025105 3961220414 0513208883 3902841296 5774275333 2592905808 3420985755 1037222839 6032852346 9404069180 4913563396 9907690298 8520290391 7248498637 5945019894 4829623302 1043234279 2740072994 3186382640 3739583654 7075180896 9559900156 6671776113 5552941369 0518881117 1248107883 1951189456 8978413872 2296687462 0530930544 8619049652 2352301018 5472394815 2338624663 4864789600 5645593182 4788353247 0989793195 8366600815 5432115814 9083141424 8836685867 0587559780 4272269971 8523724457 3927941011 1385306641 8968189022 0174758755 2013429035 8212851154 0456925629 9114447542 5652049654 1337287189 1612399947 6588700645 7881058933 6678696411 7255690773 9373842828 2665323858 5153197004 0756492320 9811973614 5185679121 1168021057 1102279674 4639433823 4448018331 0091848499 6239254573 3173894503 2344903823 2180108940 8983274978 1214275728 2959518549 6863374475 7674913532 4224159803 1824096510 6340997013 2617317093 2309238403 1230907150 1667892598 9067904338 0705212659 5532411779 7758928175 3821034381 8244531576 0478498044 3349361206 6011013228 0580394977 9958073948 5332676135 7208008352 0948996579 9623216091 6464097921 4545397652 2889627369 0694351927 4804047132 8629727421 4725151342 3375889173 6939248836 6627891726 9631373835 3007963147 2365109862 4573223640 3910786523 4974062041 9131867482 5233255410 1717277489 1660523838 1945499424 6158092634 7510405814 2165639852 5439993820 1113073639 9927077073 7945323631 2407739876 3034284601 9737399609 9970447886 1684931018 3196469543 7944134355 5473695847 9089754593 5005009045 5218357481 5825343788 7636512507 9650444650 1747191052 3045904421 0932021860 8340566680 6377225170 9981339962 4478993387 7533391854 0706935094 3575216218 2891872438 2099202319 7871243757 5963035476 8784219726 2239895020 8568370407 0628278541 5175369816 2164798985 9700210490 9103498068 1309230837 9783173393 0674204275 0349711398 4428900135 6504633483 7906716775 3109605428 3945010979 4672469688 9980005670 6015002612 8795743040 4452707251 5186523527 8261180544 3933111513 5033949416 8854922017 9944325445 6097836432 2797646202 3865673900 3458804662 0910861387 6875480298 4354344584 7632947009 9911556573 5962359495 1908582372 4968207415 0754546050 0607052891 1312858563 6138490209 3397112373 9373758977 0406096909 3841259322 2617190525 8105273684 0273060700 6912806854 5709267964 0731064585 0131604541 7827181450 0519461868 7043109380
Brillhart, Lehmer and Selfridge
Brillhart, Lehmer and Selfridge's Theorem shows that N is prime
if and only if c12-4·c2
is not a square (given 2F3 > N).
Here, c12-4·c2
is ≡ 48 (mod 64)
and therefore cannot be a square and N is prime.