Primality Certificate for (11031^4177-1)/11030

Andy Steward16,882 digits21 February 2010
Originally by David Broadhurst & Bouk de Water 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 36.086475% factorization of N-1:

From Factorisation
110313 · 3677
Φ22 · 2 · 2 · 7 · 197
Φ319 · 73 · 87739
Φ42 · 1217 · 49993
Φ631 · 3924901
Φ82 · 17 · 2963273 · 146963321
Φ9397 · 370009 · 12265535475339301
Φ1213 · 94201 · 12090956797
Φ162 · 97 · 549899662416257 · 2055104421910849
Φ18163 · 379 · 29165034409701972283
Φ242137 · 543967900921 · 188599823267613073
Φ2959 · 1450871 · c106
Φ3637 · 3061 · 1391290057 · p35
Φ483313 · 1976245813202186867976957043153 · p31
Φ58249749 · 6280997909294657 · p92
Φ721153 · 2953 · 83449 · 5973437822814850800817 · p64
Φ87564457 · 124432621 · c213
Φ116c227
Φ144433 · c192
Φ17410267 · c223
Φ232233 · c451
Φ261c680
Φ348349 · 93478369 · c443
Φ464c906
Φ522523 · c677
Φ696974401 · c900
Φ10442089 · 8353 · 60680413 · 956494009 · 419296968757 · 2290380153769 · 34084531254493 · c1297
Φ13924177 · 57073 · 7418772577 · c1793
Φ208818793 · 405073 · 189120601 · 4017834001 · c2689
Φ4176p5434

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 :

1881 0696958772 7994264585 4606422399 4268390888 8660819142 4531864391 6661620535 2219127365 9515517269 3754897669 0086069851 9695748573 0071608082 6218140088 2462684184 3756530850 3165627382 3981171809 0926645430 6596297986 3541238543 3009048925 4841731640 4140819225 3573824127 9224924654 8864652423 3042726591 4667404270 2272623869 5173026712 4114372668 8987374215 4665334234 5344370922 1755687446 1684004079 1211508662 2681421255 0750676049 8238509431 8992011740 5670803324 3413317031 4108103237 1924531826 6504723964 5740458644 4952631521 8734045770 1531423837 1359105272 4414135391 0453395886 7927327321 7084492611 8026231769 9995680736 7825766745 6126344208 1990015159 9366586941 4899548541 8967860184 4561443805 1493997433 6344805110 9273303169 8974103515 3628129862 9489307133 4833427861 8798600424 3044813165 1569650857 2689571900 6411820365 4656894259 0667594921 6795801275 7794432522 2937065840 7324742538 4184412340 4701909436 7904462556 1122916101 7333784139 5785616850 9853462274 6680811723 1906432436 6176961472 7282248778 6536811049 2052866618 4937212646 7252696394 3798595469 9212986446 4186323041 6271321512 3160142081 9429445057 1249260983 0411557000 7316112879 4107821327 4944762626 6726316586 6116063715 6949441055 9181933499 8705171154 9542527891 8858006274 5990498248 5314236934 4146587564 3820090863 6173285302 5833820268 3319914928 6614968470 9089134403 6543177531 1838893202 8082988293 9714029311 9312435160 9219531578 5836208527 0639319623 4925720678 0721442520 7773353850 7197063123 2228182962 6464667290 1980066129 6821634680 1061233044 9714539623 3682050006 1004873587 4830399248 1962308190 2762356751 7238744534 4409313274 3887039922 0133173743 6292919004 1506696212 9337297449 1234598870 1788623138 6961863746 2348908605 2825216551 7074256013 9222569335 1282898776 3757570653 7994419244 4457640649 9058631472 3362483827 2095078982 1686267876 3647492577 0186517966 9724671887 1709096897 0577801101 0733167135 0407579353 0925165083 3398391497 4720213289 6314452949 8157850147 8815464308 0262956679 1956902046 7277235001 8263689674 2264805779 9172193808 7169374586 2791366087 1451584525 6895043972 3683672922 4265965591 6995354061 2045894496 8031082997 3419291935 9003726480 2051147211 6749428317 4805352728 5993508391 7182984874 7805555956 5255249728 0326011345 3433602038 5342907244 0414883711 6777699930 1669592636 7582012850 5471343417 4103411298 1345720958 6124110822 0817382030 4703742154 5391277020 2812014865 2893799852 3189625521 5849322628 3496971527 1737668311 1753604524 8980404698 5291874288 6997469427 8175694851 2126451184 6600715627 5026041489 1976263338 0924652196 0254124747 0924386389 0260938608 9951648511 9902255247 7062271818 0212013959 4962131401 5928531425 3465985781 4071120972 7774564218 2430256661 2887478245 6195451404 7544488964 0962736690 3790537399 4255232204 3226204959 7179010572 8953463486 1215784813 9573763250 8529245798 7210967646 3518251366 6254054450 4958714662 0104944943 5028091697 7091587921 1556089335 8214759191 4236783645 2789095456 0314144463 5848904675 9818176475 5718339209 2847876861 4730615687 5419909747 5471188793 1156472758 1297764553 9916215194 6641377567 1365413636 3040349519 2182784169 6487536245 6236724962 6414379181 5397539668 2164029193 8972906003 1645548735 6922167905 7629834250 1720863222 3330502352 3178154131 2658628148 7707587747 6181356207 3539575632 2360568894 0480250835 3283392988 5151881823 9975078605 7812302938 0503664045 2668234042 5692676256 7293898546 7541849110 2137100815 4977283398 1468737796 3161314778 2426738550 5255517962 4719697357 0290845444 5425821225 0228757291 2199566920 3019668140 1233654447 7601614302 1609784960 6900446918 5770470332 5532899670 9995327109 1640588933 1420980265 5398607965 4184542306 7781154700 2573349144 9321609580 8361105333 4485049928 9640728263 7873944907 8102638726 7393088835 2921514802 7391428813 8012584391 6088308574 6151399100 9384919911 8264227162 0689482969 9878011453 3603472540 0652729544 6243528243 0215546970 2968810612 3677186557 6423099830 0916330108 4920931725 4868859876 5658684308 0047185020 9515676996 2160936823 6179342974 1748802280 0609813110 0437500503 2760639129 7470725561 1689906591 9695530111 8191096091 4839556370 6999530251 5716977108 6374755514 6626767530 7132693020 4159680643 8251475255 1828609316 6584275450 2732511064 8463999576 0269679075 3821639674 7903149344 4774603964 7689659626 5160993611 8624216000 0926377204 1419764844 5935798646 2022357518 2428663923 9464122548 0569893660 3723971289 7756360080 4818779922 6244830548 6997852383 2439618272 1845203238 1555602836 8798512997 6986599474 5727321134 2049977056 5209748352 6062287396 4535332292 9241345868 5796299644 4980982436 7584048812 1259848126 9718186550 5850576486 1022436833 4732936224 2716153379 4883743181 2261546266 8065707229 7897023479 2913482132 8163484683 7588766265 4909405400 9767207919 9947971941 9559985785 5767308301 8466937641 1397211278 0816256551 8982397374 0950043833 4620935068 9308313511 0940751824 0244952269 3767510366 9989967685 4508910268 3990907094 2821096670 1811367255 9136661056 2261778736 6890624728 0410205989 7951432568 3958579468 7781920723 5890385328 3732791608 4798639881 9012726035 8856394411 6813225158 7031056521 1538482318 4492247986 3691053501 6161278491 2085968520 5780342144 8055933463 9958048428 1927975274 9804075024 2228772912 4176341442 6785139308 2753300772 3255555308 6421507226 9336027958 5636382827 7830527853 3182308226 6911383845 5093259373 3941748075 7436407373 6718564412 6247282899 7752800936 6404132293 9932719088 2272232100 2405009102 3419581595 0608666155 6430747881 8763075853 8583917742 3089870276 8811380433 9847289748 9362368272 9651755599 3330413582 1520398673 8625380936 4087294530 3521639049 3358093943 1396494223 8997208600 9985288122 9504430049 2630172309 6710443254 8708674221 3085676647 1808788912 7017589020 4682582990 9467901124 9420863195 2601439313 7757676900 7828814482 0088240043 2887680571 2756022864 3324331461 3423493698 2470096939 1974788157 7949869075 2406498561
99 4592071944 1423245375 2376974926 5684435489 1914708672 1050863490 4400641028 6524106476 5867444697
6208 9618532038 4336779763 9089691130 2667498741 4770258929 6161712113
20601 3594638006 8652544621 4039992769
7 3413470426 4553918128 4116874369

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. Details of the proof of the primality of Φ4176(11031) have been PKZIPped into this file.

We set R = (N-1)/F. Note that GCD(F,R)=1 and Log(F)/Log(N) = 33.492822%

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 = 5 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.

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