Primality Certificate for (11466^2437-1)/11465

Andy Steward9,889 digits27 October 2010
Originally by A.A.D.Steward 2010

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

From Factorisation
114662 · 3 · 3 · 7 · 7 · 13
Φ211467
Φ3131480623
Φ4569 · 231053
Φ6131457691
Φ7337 · 130579 · 163411543 · 316026523
Φ1217284138847883181
Φ1445179 · 87277 · 576231938378237
Φ21p49
Φ2829 · 113 · 34895225613990267653 · 45154474665421280439953261
Φ2959 · 6357961 · 1814248086427555770175249489465477 · p72
Φ4243 · 11383 · 117223 · 53088169 · p31
Φ58233 · 1013899 · 834815999426333 · 33419971488780304639353247114555627 · p56
Φ8453117292927078782764342628815085101 · p63
Φ87656475540165415057 · p210
Φ11670529 · c223
Φ174349 · 4091456429738809 · 782771738866471337535913 · c186
Φ2031619200470206040611 · p664
Φ3488674249 · 1399377563809 · 6082335164629 · 508765402228418080987277065201 · p394
Φ40636541 · 346995737831 · 65060539977747423971 · c647
Φ6092437 · 6091 · 1484209145262887947 · 16779337429161464966710288969 · p1311
Φ81229 · c1363
Φ1218140317740809075593 · 2396683256088538755912883 · c1323
Φ2436253339129 · 306197893 · c2712

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 :

2 4810460096 7304354098 2443433871 5202755804 8109752788 8367518652 0713721819 0370115552 5154109732 0955642539 9054098059 9026808531 6338918636 0495174511 4959403091 4040548229 4139624749 9406918593 0748652356 4289373100 6413724606 7375577981 1063866920 8110951050 5288074519 5141423279 0902081595 7993206739 4265900578 7714688352 3425609436 4200549778 4035734089 8582806136 3672047615 3462012796 6695490918 2071795379 2337478751 2297802094 8947535155 3883585716 8170325977 4132753799 5240926631 1960090802 3909094921 3745967738 7231882469 2144810257 4729127564 9274295991 3764399302 8174366510 5763878447 9981589617 3775126873 3583734002 6722735820 7851524202 7672687687 0216214081 2789115594 5471958504 0737269008 9889734249 6429188867 4308632355 1349656725 9505044995 7329207139 4083052583 7767528433 4404475716 3509251754 8073692358 3227991098 1489152036 3882172000 6859556264 3230014459 1977833057 4319484269 4092659066 8191830350 2586040548 6778284123 7558048218 3336870534 1275097526 2742776605 9740876182 7122916803 2859938540 3865810909 5993950351 8066765482 6377579534 9597868526 7345623655 2448753517 6344160181 1797340251 7713866945 5820753867 0571097247 3315375944 5774109278 8873641014 1296206975 0508963899 2535544246 5174960091 7000451715 6792607564 3650334768 0174975144 5815182958 5398478452 3072189810 8305902849 1885540950 9260110901 7744723008 2224997752 5296530609 7814743748 8332237232 8916371754 7487836509 2209928291
5913 8048626421 6788925076 7281340432 9816808963 2474810488 5029215273 5907849358 6330264157 3684048687 1874013010 1745195147 9594212873 5302585806 9721105411 8944494605 1258532705 2467600317 4468437002 0067545266 3864522868 1251168188 1112852652 3169630405 7556301158 3034656516 5894195971 3188919558 6469164458 9780741840 5782859560 1499662889 3770804309 8947527462 4469919812 5327915272 3987611002 6917188105 1416286937 5439899178 5354880308 2079413227 7225106298 8870585612 3864949373 3376885141 6579305550 5624280381 2891817442 2402530191 9545086120 3727925570 0248554572 1664311720 1756998540 1397105772 2054897220 7596530906 4925659683 3031280729 4467981401 3085436065 7399651654 3830775105 3518641116 4938813563 3999646301
1200 5556249917 6668569248 3516764743 9560476464 2373571434 1231280064 0117233591 3323558277 5149038924 9371545647 6665073708 1406214287 1378506629 1773680575 1540737767 9044479450 3716881708 7471582560 9982666193 0284650715 4460507593 6505022823 1658395103 9651867587 6513152200 8444842384 6561109068 7762381621 7928815534 3665356902 8211960560 1136238848 1238434699 2968240024 5374742853 7923356895 4875174814 1877061569 9660248569
3234536594 5935188372 2843881802 6806660755 0201056727 5460292055 4666364134 0443593081 7186275658 4528570473 5100438356 6329859153 6331048015 9569974158 2002251440 2206728178 2839290082 6881548342 0476147170 5362818349 3318628703
67 7182274435 7506032706 7345476824 6298741897 6955566697 3787354840 3070912153
501 9385691505 0877952742 4891100739 9681771150 5760843709 0591832281
699115 4801647653 3622521254 0450927242 7619014445 5424524863
516303858 7541766077 4372052972 5123447549 2674317391
53117 2929270787 8276434262 8815085101
33419 9714887803 0463935324 7114555627
1814 2480864275 5577017524 9489465477
1 6952952854 8120313672 5328110897
5087654022 2841808098 7277065201
167793374 2916146496 6710288969
451544 7466542128 0439953261
23966 8325608853 8755912883
7827 7173886647 1337535913
6506053997 7747423971
3489522561 3990267653
161920047 0206040611
148420914 5262887947
65647554 0165415057
14031774 0809075593
1728413 8847883181
409145 6429738809
83481 5999426333
57623 1938378237
608 2335164629
139 9377563809
34 6995737831
316026523

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

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