Primality Certificate for (6556^2053-1)/6555 |
| Andy Steward | 7,832 digits | 19 September 2005 |
| Originally by A.A.D.Steward 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 41.518585% factorization of N-1:
| From | Factorisation |
| 6556 | 2 · 2 · 11 · 149
|
| Φ2 | 79 · 83
|
| Φ3 | 3 · 7 · 619 · 3307
|
| Φ4 | 1301 · 33037
|
| Φ6 | 13 · 211 · 15667
|
| Φ9 | 3 · 37 · 109 · 3061 · 2143980658162207
|
| Φ12 | 61 · 30284885391301
|
| Φ18 | 2089 · 4969 · 7649379941151601
|
| Φ19 | 19 · 647 · 7639 · 54942972563 · p50
|
| Φ27 | 3 · 163 · 18199 · 1229463502945473007 · p44
|
| Φ36 | 159589 · 6363457453 · 27428986693 · 226340086165471860301
|
| Φ38 | 18218575388174629736202479086768301 · p35
|
| Φ54 | 1505008103483710730111887 · p45
|
| Φ57 | 229 · c136
|
| Φ76 | 7624710109 · 72923999735072461 · c111
|
| Φ108 | c138
|
| Φ114 | 156073069 · p130
|
| Φ171 | c413
|
| Φ228 | 457 · 27817 · 310822380541 · 6114500927633653 · 445666621457105401 · c223
|
| Φ342 | 318472770061 · 30227327221790644417 · c382
|
| Φ513 | 897751 · 13035331 · 8852948250859 · 33683255318197 · c1198
|
| Φ684 | 4789 · 6841 · 613549 · 31582333 · 24667939585441 · c791
|
| Φ1026 | 11287 · 807463 · 3179489869 · 33184607473 · 10224870157063 · c1194
|
| Φ2052 | 2053 · 4067462089 · 2868418959481 · p2448
|
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
:
| 63486479 7547390504 2736438977 9958971398 9860703033 5304203878 0595060415 9401385630 3860204867 4051892836 3545123680 8430675548 6492147427 2768343294 9225106529 8856467325 8384445655 6840092564 7607778064 8518909192 2076154388 3616146096 4990940845 1082629403 3342078771 5766054172 6608912602 9393147448 1354980289 8357627877 1974089211 9490681653 1766154368 2616184430 1653183694 3868422958 3625065380 6298245735 4407779581 0256982806 0084807013 5429152199 9428689496 3829840058 4946076110 6800903192 2405274775 1434579175 3024883048 6414853931 3053606190 6723385125 8701141663 8065118159 7243569889 0670831814 9111286908 2032703482 6286014602 6303018090 7975235138 8009625948 7913682023 3507019346 7628606849 2111847392 7675597215 6908301314 2790375196 9711985164 3256318682 2247221214 1891491086 1236169067 9369804928 8781781767 7773570386 9148433396 3248425784 8750944050 5940863145 3412972045 1943034696 8558295434 9747304786 3173471482 7692630102 9884133782 1623833276 6277637963 8240016521 1287054060 6817800337 7156314013 8859184896 2349722285 2891572617 7880399264 1649340728 4272070584 1956746941 4762751411 4941771043 6177179482 8841261357 6083217141 3659460315 4329955177 8120149407 8765386134 2760752588 0443938511 3420034936 1143844109 9254416112 9871193968 2504822948 8032519792 6949175726 1646104958 3626957322 7724121768 0440807097 2509290491 9000590630 5904996431 0409092675 9009860136 3527995423 0171269057 9603373916 4648410605 4502661467 7838220466 7483323561 3254105158 8950837232 7866152526 4580747739 2642345852 9656851965 1231830000 1740068501 1629248829 8520751901 3023572250 6206887226 8882587860 8091751564 4973482402 8172821040 4592908951 0055556889 4435296501 7554332492 6887214997 1404255173 2169727721 2505905139 2008640480 7908521128 8540507761 9029392755 9353028921 0609166930 9279660245 3946705166 1523234940 1186457855 1169734596 5131898418 7936834035 8093305608 3361537005 5867149263 2971591178 2575193560 6423722873 9847058961 5635794275 4249113759 7986890115 0782325905 8764055249 5909426782 5273158622 3880631280 2626832172 9420368967 2551792422 8928870303 1040449272 4250118757 6880329773 5108941039 2731800135 2940401024 1998823829 2141130062 5493077303 8507141416 1284499565 6723914230 6135038590 1646912091 8191372641 9641146315 5849642863 0282182422 9830350784 5872768832 6045193795 7607879709 7266521426 0755678750 4442549273 9505652702 6617670775 3182234016 1228751469 3253916600 2564914124 7611731736 8108757816 3131483722 1022445551 1297774304 6208054245 6354097122 9278626091 9817283153 4041192561 5132361871 1518705026 3264683727 3021769243 4631846032 8499639013 8410105193 6024367193 9993692713 6701402733 4092471786 2399680337 4331028173 |
| 1605980562 9488747131 9844987683 7030208122 9538328948 8038807298 9311149963 7259141160 1374922722 2279545380 9429397863 2402708879 5173962289 |
| 9704221776 5857129245 1038864011 2033537410 9117138949 |
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.542920%
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.
Express N in base F
As F2 < N < F3
and N ≡ 1 (mod F), we can
let N = c2·F2 + c1·F + 1.
- c1= 4101884 7979351384 8692292883 0681447332 7358006629 2740166699 1578242681 2392715879 2575574722 3282245680 1351354449 5655125025 1117041205 0962165075 9232870700 2562794970 7896778487 6125450488 0731036878 5977354045 6581898170 2539358642 3041865808 3036109242 9110442266 3450709990 7631874021 9957182208 8121990739 9589553412 4215105922 8599431448 4073797684 9291223096 8714722868 0900083478 9996475595 3610759160 4852145008 7183670855 7816811311 0095929649 8040001250 8367721069 8817374155 8625349607 1131099721 2980124272 0174914519 1552126614 9741656985 4622389669 4696682020 8029230771 4328567868 8029951278 2035769323 6356625743 4821510436 6310536216 6437226359 2247009417 9490009068 4117290728 4682079499 6683451942 8611936779 0907178267 9457658472 6218447073 4922630731 7297873973 1774762984 8771905832 3135413917 9861489452 6646338789 4107116755 3472502780 0042575841 8730213003 6568463258 3193320530 4619827686 7615053430 5211386855 6783662035 3895586967 9825750019 6431534700 3350537241 9077599980 2484181506 3491376936 7039995642 7113988668 9225285525 4061433344 5315783267 2330222598 5870192164 1351250287 2199347798 7386187423 6968163792 5452928181 9342552730 9857501593 4812491480 1779472724 2280712006 3740271384 3267103265 5694857096 8417879075 8562387491 4832160807 6104643203 0526816696 8528615806 3751968323 7953893804 8885388255 8384923114 8397260769 6124091109 8803701623 4839670711 8116211097 2353440838 3875792236 6687947876 6729298439 3552740665 3328931257 2455042767 0320919787 8478215235 0436706305 3050060843 7312158938 8473961556 6061588859 9478039290 4429708242 0773206834 2341520372 8451002746 5961847778 8390621798 3684479420 7047420289 1198755005 1836767060 8540953146 8285927328 1043420633 3686164581 4884161983 7007090555 5411904133 9973177443 9292498816 1517964254 4204668753 1422012521 7483446446 7365825122 5528521919 7410014219 7688570509 1264808660 9615868365 5326709749 1205727055 5197196792 1359568346 6409379594 5309730812 8881675302 2820992039 7932047072 1503567708 2142252814 5520085842 3830568002 3100371649 4064183598 7419541243 8239383947 3759182449 6599516575 2312964554 9117015661 6630608963 1858134026 6150014148 2432808356 3455174354 6391399698 2084164532 0408432725 3745379790 9496907178 0600230788 7393807988 9274509349 5988857424 2250275532 9205486323 6506940253 6417105260 1221935535 7902622079 6717111508 2796315770 8343322603 1046548892 1084850602 2542301511 7476043866 8251966091 4556443860 9941680468 7266710671 4762671385 0699475714 6281232714 8832354909 2810952728 1584207579 4800553593 0108984683 7708353348 5093980737 3126567684 2547625448 1353018585 3701505420 9012717949 3398251123 6282483436 3394758035 5671354818 7218203676 8240284252 8045569202 8936581106 3421986458 7449034881 0473868308 3063488362 6785524824 6264359102 3736399403 8577139800 6125756499 5282438690 8141472802 9134847386 5533718533 9525532367 1079096769
- c2= 56547927 3493272255 5367543359 6003731093 3873014478 5303743306 0018966329 5079437294 3815824119 9671802723 3333465092 2098026594 4877861219 4538279163 9385953674 9487793678 3439789453 4327891649 9412629037 8538858363 2967370336 6653041906 1685889605 9322734080 3115394437 0996952514 3167937192 1860282387 6282164706 2901548086 8663061898 6739528653 1829699539 0143599486 9813294279 8004446971 6978861488 4871421240 0684458663 6836023310 5172840228 3711962500 3643311323 1729426528 0488354389 8487554520 0805847720 2429458519 3508401688 0763248171 6614624008 3286389166 8866872323 8323581450 4506038671 3305894222 8499253319 8923603236 4842974596 4185356903 8848564760 2839970299 0020488435 7914044555 8327438233 1715730618 3077875072 7604723300 7045847277 6056131669 4063776208 4435530008 3877581792 1927308138 4001450366 1232065279 9708954450 4790797201 7822398630 7951254764 1095623178 4422302505 9937440656 4603708142 9597218719 8768293842 6963612897 2118025929 3184650092 2608535432 6623336403 2054503341 0484557655 4181772081 3231794461 2124986499 4385505142 1132682796 3936036457 2788603993 7032178552 9210629866 4516236615 2083019297 8479086641 9912667461 3756112535 4611853621 0628497221 5287944888 7326170036 8793780723 8530275361 2391320391 9984879864 4079139430 0346855363 7237587232 8353364792 9561081950 6000816751 1973307579 2511836157 1228026491 7395990818 8567644650 8155888441 2222264160 3151475929 8699788312 6006316476 8716020273 7065154841 2905087853 5555970940 0128135589 3369082287 9897285078 0469225085 4769876509 3130027570 6284708507 4619853283 4876217108 6206695876 2911524011 0060817177 7900029419 3458633313 8221637571 9370004668 6925880606 7464553128 7858487716 1308496753 6823580151 1558624692 9590167150 0971123078 6546571007 6712054461 6918946349 6476843158 6358247098 4183505232 6178824909 3136078975 8706462613 7994245345 5238415444 4549909126 3356495828 1982724145 6606962802 4730819921 6218873687 1852763030 0452909863 6890231736 5636981152 2700892411 4353856931 3507832336 6525431569 1716219585 5520578493 7337646454 3989102950 2962390111 9355631311 3256369776 4637013135 2829644940 4712823564 8168451240 9143760139 7571949310 0482169994 8210873862 0309922498 6557514108 2856625794 6213737379 4061565727 5275275963 6197272345 0239369994 1189030628 5860258773 1700237679 6086439375 2475085108 0580224255 5892721796 1636187039 9444642836 2094331310 1159461894 5300187558 7376388544 6703813914 7061538414 5541908561 0304284899 5363403941 8620940226 7288067435 5605822609 2101168261 7446957007 4918434059 7760977668 8664361015 1629584206 4281032537 9779437903 4318971537 4050153698 5481904628 1902018905 9523358456 0423818135 1571575545 0517960429 9915781106 0994980792 6360120314 5603824611 3716826482 0381589950 1315785463 3200251016 9824253103 5158699432 9961053337 0564283117 1896795141 0266036315
Brillhart, Lehmer and Selfridge's Theorem shows that N is prime
if and only if c12-4·c2
is not a square.
Here, c12-4·c2
is ≡ 21 (mod 64)
and therefore cannot be a square and N is prime.