Primality Certificate for (7568^3361-1)/7567

Andy Steward13,034 digits07 January 2001
Originally by A.A.D.Steward 2001

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 33.737780% factorization of N-1:

From Factorisation
75682 · 2 · 2 · 2 · 11 · 43
Φ23 · 3 · 29 · 29
Φ31153 · 49681
Φ45 · 5 · 5 · 458197
Φ531 · 105832776321871
Φ63 · 661 · 28879
Φ77 · 26843929513149885650599
Φ817449 · 187998312473
Φ103279949157254001
Φ1213 · 73 · 1693 · 2041744129
Φ147124733701 · 26367000172157
Φ15214561 · 50146521533501853946217041
Φ1617 · 192663473 · 3285494019936010290497
Φ205 · 67315981 · 31971336835883225321921
Φ211255240099 · 4294490340917659 · 6547532405867903421889
Φ24110446537 · 2605902433 · 37388559449881
Φ281597 · 65758841 · 58888037761111609 · 5708044150605512549
Φ3061 · 615661 · 304290011101 · 941775079981
Φ322017 · 488877217 · 14184968694535666297217 · 8278733376069806546003670529
Φ35211 · 6091 · 154841 · 808361 · 84892501 · 110589288421694843122083541 · p42
Φ4041 · 12041 · 538921 · p51
Φ42967 · 13175048629 · 92705932747 · 29891288330412348382369
Φ4897 · 28081 · p56
Φ56304684399633807963001 · 1276835479956217140131210294761 · p43
Φ60241 · 9910921 · p53
Φ7071 · c92
Φ8070241 · 66356275998511415118037988561 · 349960920311093123006416991501484297041 · p52
Φ842521 · 860413 · 77848348664717268423757177815421 · p52
Φ9626456481697 · p114
Φ10522299691 · 1184114662501 · c167
Φ112113 · 209387066943848610847707601 · c158
Φ1202161 · 884647801 · 698016435601 · 142059364387394104243561 · 52631108357503693389730991680921 · p46
Φ140421 · 701 · c181
Φ1605058881 · 47465130653358460187834214401 · p213
Φ168673 · 6553 · 14281 · 96097 · 1445386321 · 579766242236847102483313 · p138
Φ21048616277909858415211771 · c164
Φ22426412289 · 46399361 · p358
Φ240110161 · 101869302806997048963361 · 16577639150182329571758247201 · c192
Φ280281 · 3361 · 113747433521 · 8867650491185081 · 315615773616037800449041 · p316
Φ336337 · 32292934129 · 718146681394959056360737 · p336
Φ420135661 · 693421 · 1095781 · 3370150561 · 12846269101 · c336
Φ4802982585674341402239203521 · p473
Φ5602801 · 4481 · 614881 · c732
Φ6722689 · 30088801 · 113944993 · p726
Φ8401068607805439634321 · c727
Φ1120c1490
Φ1680848936405945041 · 5822067044886219204001 · c1453
Φ336033601 · 5943204961 · 200659135624620961 · c2948

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 :

630499 5214931648 9178717765 8568488923 4648891428 1472164055 9661436460 3756649607 8030543073 6997683895 9717023127 8938814852 6805934850 7999647982 6009012015 8217035280 6457981726 9706188791 6124625192 4076213255 8582751877 4568059403 6772354773 7309590485 1506562065 8326152037 9883922609 8566396178 6984681546 2314132156 2414585584 4522112265 7466094721 6198914925 8043023018 9392354451 5318343494 0155658199 0501535708 0953406868 9362312247 5037057957 2694369218 6672423032 2083252637 6736290614 7715742196 4564654622 9582334728 6551875082 6530583467 2878350270 4229952460 8257991769 6701283243 3148494758 1699926670 1587490343 3245361175 3256879989 6851004021 9739176675 6613132250 1765886579 5716185527 9805623150 0050657573 3924316251 2102187121 1289675700 0909158794 0463141266 9845475713
108 3904119386 6467982635 6270391254 9361977708 9360337091 7469706003 9262587462 7019936498 6405801755 2239957484 3070882417 9235254706 0065146157 9722841065 8527421267 3128561440 4352320384 4691097166 0093368438 0584741644 9211455258 1386445427 9962870689 2888026973 0506803838 4857720976 2104100694 5143305525 0972224694 6969970817 6798274996 0447875299 2227685903 7289214036 5227615810 9873767233 1617666480 9854014156 6117638044 8864453794 4397668279 2769563057 0530609575 0835714622 7923439285 5910419838 0814210881
19672964 3778841073 4229527098 7189911028 3895588578 9709413228 9670090325 9461930556 4707870092 0441286820 5136748805 7179658812 0625582623 9606904051 8673310985 5938872992 9123046077 4316588604 3352715628 7129218409 3152341391 7817732944 2633179213 9451874602 7748056498 5821154485 1431291833 6793547304 9184954919 0776774066 9736539801 0928025566 6008987635 9321903068 2694827401 7800272769
308487 2935189322 8386057042 3877585263 8419869471 5073397584 8968384849 6172742355 4510894815 5074265423 8616426515 0496181837 6688735081 2758586798 5728011495 6789750529 0447656882 3777068859 1159734782 0709666693 5689834790 5017015092 1114737992 0391019934 8575740595 5565864321 4599569679 9271703044 5341392864 1702763862 0186053483 1978765107 3620728544 0800778401
801870 3208423067 8207641301 4631468943 3421039740 2798572276 4118654130 2073658125 3149136172 2354025574 3801956663 2436522461 3826270262 8309230187 5088771316 3836943290 8075619074 0743407049 7781150499 0993565721 2522065860 4741739266 4635931645 4405451990 9466783611 4290200846 9058623802 6742383895 0134799587 9073861101 6342934230 1556223121
748 7946847070 7068848737 4308128209 1849738132 9214724944 9304410117 8323687122 7885235729 5730493034 5471604205 9372414743 1810269556 1321953877 8506959084 3859241241 6952779690 6302117294 2871511185 9746448925 8815449127 6211517121
30614937 4956507457 2287993454 9846454197 6222181609 0730703568 0807101935 4573335664 1986782234 8425351222 5300675892 5221199267 6086198857 9616397089
5068 3180406223 4043571100 9403432244 8977555281 9996896334 3329692726 2480150933 9615662143 5189174062 2558814962 0214056033
425122 0883930458 4723833709 8662575855 0694334699 9246282993
484 8048154470 1504708620 9523943283 3346503974 3083757641
82 2060361954 6400279057 0121834109 9239170114 6292703361
73 7934398326 0019845937 5570185639 9570616427 4979862497
4 3523764748 3171944763 7394608762 9278694444 6749845801
134397 9819421672 8103078867 1576358106 8043255561
320 3035862195 8627140030 0211787328 6851599841
82 4982631273 5192440252 3948399475 4770662761
349960920 3110931230 0641699150 1484297041
77 8483486647 1726842375 7177815421
52 6311083575 0369338973 0991680921
1 2768354799 5621714013 1210294761
663562759 9851141511 8037988561
474651306 5335846018 7834214401
165776391 5018232957 1758247201
82787333 7606980654 6003670529
2093870 6694384861 0847707601
1105892 8842169484 3122083541
501465 2153350185 3946217041
29825 8567434140 2239203521
7181 4668139495 9056360737
5797 6624223684 7102483313
3156 1577361603 7800449041
1420 5936438739 4104243561
1018 6930280699 7048963361
486 1627790985 8415211771
319 7133683588 3225321921
298 9128833041 2348382369
268 4392951314 9885650599
141 8496869453 5666297217
65 4753240586 7903421889
58 2206704488 6219204001
32 8549401993 6010290497
3 0468439963 3807963001
570804415 0605512549
106860780 5439634321
20065913 5624620961
5888803 7761111609
886765 0491185081
429449 0340917659
327994 9157254001
84893 6405945041
10583 2776321871
3738 8559449881
2636 7000172157
118 4114662501
94 1775079981
69 8016435601
30 4290011101
18 7998312473
11 3747433521
9 2705932747
3 2292934129
2 6456481697
1 3175048629
1 2846269101
7124733701
5943204961
3370150561
2605902433
2041744129
1445386321
1255240099
884647801
488877217
192663473
113944993
110446537
84892501
67315981
65758841
46399361
30088801
26412289
22299691
9910921
5058881
1095781
860413
808361
693421
615661
614881
538921
458197
214561
154841
135661
110161
96097
70241
49681
33601
28879
28081
17449
14281
12041
6553
6091
4481
3361
2801
2689
2521
2161
2017
1693
1597
1153

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.349157%

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 = 19 suffices.

Express N in base F

As F2 < N < F3 and N ≡ 1 (mod F), we can let N = c2·F2 + c1·F + 1.

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 ≡ 13 (mod 64) and therefore cannot be a square and N is prime.