Primality Certificate for (14739^3301-1)/14738

Andy Steward13,756 digits17 August 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 37.650344% factorization of N-1:

From Factorisation
147393 · 17 · 17 · 17
Φ22 · 2 · 5 · 11 · 67
Φ37 · 4651 · 6673
Φ42 · 1093 · 99377
Φ5661 · 71400307572661
Φ613 · 16709491
Φ105 · 151 · 1151 · 54302563921
Φ113499 · 667091681213 · 207290876451337375137167123
Φ1247192400998372521
Φ1531 · 691 · 457621 · 227179425610259968581601
Φ2041 · 61 · 2141 · 42641 · 629199601 · 15502365434561
Φ2211 · 23 · 1696883 · p34
Φ253251 · 14826409074151 · 4256577504745569360098551 · p43
Φ3085081 · 60425581 · 1378879771 · 314191039111
Φ33234962913640621502697972485115340932163 · p45
Φ44617 · 43364962213 · 1350519555790637 · p55
Φ505 · 81401 · 545189999314451 · p64
Φ5532561 · 655298381 · 13417108321 · c144
Φ609601 · 1388429821 · 25864080901 · p44
Φ66463 · p81
Φ756735407089669700073601 · c145
Φ100101 · 29101 · 11811014459822517591131830789301 · 1500899023552434930971629582310738101 · 491397788209360380788890218626838649845362201 · p49
Φ110p167
Φ1323301 · 94220591018564014843081 · p141
Φ1502551 · 420028086332288344593459629903251 · p131
Φ165991 · 5083321 · 133536102151 · p313
Φ22022252119341 · 1410114472801 · 109549590485154392869872216521 · p282
Φ2756362004543538601 · 33303435079800601 · p802
Φ30043801 · 2225101 · p323
Φ330331 · 67171501 · 2421667878576333744397705579531 · c293
Φ5504951 · 7151 · 447701 · 28925051 · 2248742101 · c804
Φ6604621 · 3408241 · c657
Φ8251938751 · c1662
Φ1100103364801 · 123842401 · 423492301 · 480740934451828601 · 6023709841330967501 · c1607
Φ165019801 · 2285251 · 19740774784501 · 13429462563054406341301951 · p1619
Φ33009901 · 243830173794728401 · 21994624095628071703201 · 85662262727301422243401 · c3269

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 :

203312314 1620586932 7748153689 9344318034 0025049804 3232620232 7182191774 8141682572 6983695597 2428044651 7155049565 8452529089 2264751345 2446314647 0494749997 3840694238 5923013355 7873139842 6053289019 0373985447 0041913398 5375549771 5618244496 3974631198 6585792473 9161582652 1153868676 6309660376 6231517738 5156728281 5648584184 9914038166 0222779614 8285884969 6940781412 8739048161 2457641825 6879940195 5526079136 6919408686 2062549026 0261131058 7354008082 2067601686 7214983758 2148178642 7806874451 4436566748 6523043605 9128891717 6225749855 0930989489 8103325117 3388483772 5230456462 0869417868 6868719504 3263817728 5024222899 0309670971 7900214331 8929792860 0130760947 6930533961 5517314804 8444598438 1594253780 0552847597 1707963956 3920971936 5672202832 1496736834 5944340253 8255403488 9939236305 7386594437 5669443543 3727241890 4308762259 0620125947 7015617623 3352789113 5814065423 0720270233 5531857387 8716742675 1666620913 8212697214 2901899322 7901840177 4706213853 4651769413 7120505793 7531185192 4017957896 1757099314 0614472605 3546872326 0234079452 4741938452 9472012347 0154636401 2692472746 7559955723 6001416361 9744293902 1901724236 5424585593 8405291081 7662738291 6478106139 0372436844 4277141345 2803892447 8141281479 1096457076 7433877110 1954287199 7622593304 0981757370 0153084825 7715873046 3288638451 8606489392 0209567441 7151002124 2289631955 3032609594 7907926999 6661358426 2667228539 9598267146 6244214053 0615551552 3923514568 6063677351 6243474842 8355703574 4877038448 0802816501 5916832197 7334581013 1337016992 1579568627 6404172857 8664252583 1171029527 9710483827 7940762296 9027580656 2935075494 7446139659 7619235408 5220186878 8808736458 6818404402 9190565538 4711975837 0085298600 0832535046 4073225224 5599153001
23 3088455900 0272560176 6690607537 7292420082 7636629553 2224608061 4852726990 7655714972 8794974215 8282723754 8624218557 0201214532 2318234643 0278297661 9003181446 5470326343 1133232632 2391728467 6820601949 8739074186 1200270717 9159006640 3447994095 9098180969 0806658997 2114756823 7697948944 6312595414 3256039604 7147188225 1300802764 5911431115 7847048351 1499494455 1334470215 1388674397 4756952622 2091629435 1574715358 3348426692 3452754040 5751891506 6197616461 8127108679 7654691259 2768051380 5051514444 7198204590 6740883688 4841142456 4750969761 5484880411 9667038534 6052984637 5383082021 4557886564 4051437576 0713766698 2907520643 2501457293 6419861570 4792145534 8921929715 4613863286 0571310222 3167898768 5569241606 9834802133 5524192448 4707290795 0969608375 8867200080 4755918456 9628410322 7168111327 4729144240 1274845066 7413116706 5937199074 0087686801
308 0404531919 1202957594 8994990990 4980113091 8750609372 2397221674 5619252856 8257068122 7113550177 6791332481 1407834575 5648625148 8375064465 2462931957 9254330866 5600454168 1309622783 9178357140 1075501693 8799772048 3706427011 5383835385 1344514149 7986473128 0861074641 1294473017 1347479915 4658523019 4621992772 9197829822 6343083674 8362859501
446 3248729423 6832264824 8682830452 6012722139 0346675165 2000717831 0282644386 0088385334 9392226696 9754072389 2169018907 6808271933 4163149037 4636880064 5657616971 2941346388 1342960502 4511724121 4057349556 3871692068 3175363948 0725083835 4778117506 8573498594 4064153567 3863023160 5722341858 5904187793 6222931389 2337535903 3690884241
87 3383537197 7709377834 0878794712 7504606782 6028584066 0889675538 9707926850 0947347446 5996366263 0377166290 9788358235 6211930085 9188405791 6315335589 2231999943 2698810636 1266659867 5356270249 4615819671 1246587194 4042881717 6643829332 3284333977 5008673013 9291248725 9435969653 7244729054 3365300541
5479617 1827933613 4785337153 4293590383 7257704520 7406901806 6457156319 8645663960 1698351144 4137440383 3167733752 6993047620 2851035632 9018360252 7124279633 0117368367 2661461201
1 7616896698 1823497521 6646655502 3609103481 3140907668 7552654476 6804514254 6546949528 1281562089 2001163909 6351750977 5187462538 5997308612 1874723221
5 1136613526 7675558172 8208010950 9338751342 4284942299 0715896719 6060123813 1391393989 4899972082 8277860876 4896765036 9073945419 7777445901
5 0560207862 0405280921 3514667614 9005156385 8136766837 7175413377 0322357489 1659234727
1054 9035451142 0484408814 1274977063 7572840572 4147390959 8913416251
64779 1673636076 2079603657 9291037414 2389741754 3218130913
214002868 0715627665 6016991121 5291951623 4699990401
99616 5717020389 9849119293 6231950226 6563071427
49139 7788209360 3807888902 1862683864 9845362201
1438 6357588525 7702428712 0906101333 7677494961
114 0898170008 8270526605 9709360396 0800283651
234962913 6406215026 9797248511 5340932163
1500899 0235524349 3097162958 2310738101
1126 8816421728 7294471393 2643651289
420 0280863322 8834459345 9629903251
11 8110144598 2251759113 1830789301
2 4216678785 7633374439 7705579531
1095495904 8515439286 9872216521
2072908 7645133737 5137167123
134294 6256305440 6341301951
42565 7750474556 9360098551
2271 7942561025 9968581601
942 2059101856 4014843081
856 6226272730 1422243401
219 9462409562 8071703201

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

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 = 47 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 ≡ 60 (mod 65) and therefore cannot be a square and N is prime.