Primality Certificate for (6087^2713-1)/6086 |
| Andy Steward | 10,264 digits | 18 April 2007 |
| Originally by A.A.D.Steward 2007 |
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.655174% factorization of N-1:
| From | Factorisation |
| 6087 | 3 · 2029
|
| Φ2 | 2 · 2 · 2 · 761
|
| Φ3 | 7 · 13 · 19 · 21433
|
| Φ4 | 2 · 5 · 113 · 32789
|
| Φ6 | 61 · 607303
|
| Φ8 | 2 · 641 · 1070841470641
|
| Φ12 | 1372818728310193
|
| Φ24 | 97 · 1297 · 9721 · 5151245017 · 299151753697
|
| Φ113 | 227 · c422
|
| Φ226 | 65089 · 1497826754713 · c407
|
| Φ339 | 6781 · c844
|
| Φ452 | 113 · 4973 · 80318593 · 343524521 · 13874623859085757 · c810
|
| Φ678 | 3263893 · 12339601 · c835
|
| Φ904 | c1696
|
| Φ1356 | c1696
|
| Φ2712 | 2713 · 3450673096488913 · 111577630349066133433 · p3352
|
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
:
| 64 0365056574 7647598837 4729454003 4501603048 1933378293 0308215944 0357702032 5653752351 0956463106 6051297411 0102759512 1466903953 0207965717 2944995839 2235268265 0137445176 8458385867 6768968360 3534792551 6733257048 3450107286 2201845025 5218566962 7765747150 1433905477 7065009620 8016525928 4592786403 2878458414 2918247171 6159624996 7586435274 8494122234 0782528641 4289581332 2274947517 2130919987 8560470175 3827106632 2207424079 7206303282 1987122660 6549834245 0564716311 9222492968 9542247602 8897641712 2419799501 9435588947 2096599869 9090535116 6290901796 6694599670 2243670265 8161096355 7762852561 2138743605 0937888495 6489255850 0057448239 1648344174 3752082452 4012543185 3674308389 6178408538 3298052004 9947478013 7322299433 0565845851 4868351581 0016566203 7102648113 0282887197 4891243666 5705831469 9525791928 8305546039 9195489956 7450038413 9568083877 1935164956 2146177123 1574908937 1775741323 0046233700 2784646548 6460586687 5668498112 5101223436 6345044815 8954401422 0408066370 8419827415 6365248605 7887859036 8222735622 3972334718 0179482466 1153716553 8933600296 7628437517 1264967961 3294245879 7951070029 1618602731 8657947258 6797300729 2044600618 6299786659 3347317737 4659958529 4321905877 6529190215 9331451215 7972234428 0924180799 8232010782 4756749917 5298139467 9267102279 7143701248 5417954874 8674168213 2414708622 0766649817 7966091389 3539014695 6421696736 9523551108 9648461960 3667050913 6665268883 3768200879 3340544879 5412756298 4921138118 9556272948 2026236487 5305040429 4150676974 3823408071 8762667597 9149087700 0629995191 8757431317 4885504732 4612760683 1075684934 4633502112 6579045423 6604236804 8439341655 5509089440 3882769208 9929590114 0764335923 9828123238 8101451454 2428592608 9864133535 5825370213 5772747738 2565449329 2810916931 2655535062 7756565427 6576500987 8423561893 0079185939 7457535411 8201508358 1783865623 2688390626 4019556939 5245877599 2453329844 0746792128 6473374041 0384044321 4142671006 1715514487 3872571005 6085176487 7848657510 1166084064 4353127440 2410906049 4902036989 3816452510 6927039070 8445584891 9701163125 6039320762 5222114096 9786096035 7639606353 4074884257 7373570573 6893608580 9634548757 8677474413 1307778294 0901387832 4734896110 3209637292 2578846985 7494839863 0363528899 0833425194 3549404477 7815003499 1484122128 5871817507 2252703358 9223551911 9353271464 8060198295 2239403333 5633791388 2664757700 3165428152 5413767601 5217049299 6857372491 0507091130 0707157610 7700693544 9235221861 4765731691 7428495099 0182105646 6527021440 9353003240 6467501720 7731550184 6071715078 2949168813 6263035253 3411133024 7079697948 8293879236 7743158528 6194015463 2657902535 1561320578 6151861253 0269200438 6552358905 8785037337 7218383509 6253406078 9820408045 0174438761 2358474260 5786728956 2348238077 5257882650 5858422278 1127948709 7534039512 9815114105 5828171142 1553881727 7663213841 0154258923 0402910203 8481933854 8916371530 4648679410 3453821615 1216615493 7439581836 2324902931 0290269732 8657059476 3417044332 4365622574 1863312148 5256108800 2913046992 5126869655 6303323500 5185759502 1137294282 9583830359 7180862732 3496671334 5608067469 5424295927 8522851327 7172693707 0653987308 4426999168 0512879623 2340632166 0095750452 4820645129 7575664284 8969291275 5098898232 1688030990 8213696675 7292862181 6668854573 4675891625 1971197544 4173247616 5727022097 1313666482 5903418165 4026306683 6834757300 1962852557 0224388241 2072841782 1623890081 6241903168 0613479105 6971667576 3462156447 8380818229 1686937553 6525075954 7987754683 3627822380 9501750399 5245963650 3528454193 0136828371 9209310530 7570149729 9620130427 4832736763 8843472064 1685754273 |
| 1 1157763034 9066133433 |
| 1387462 3859085757 |
| 345067 3096488913 |
| 137281 8728310193 |
| 149 7826754713 |
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.428299%
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 = 11 suffices.
Given such a witness, Pocklington's Theorem shows that every prime factor of N ≡ 1 (mod F).
As F2>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.
- c1= 3 8024324407 3012830462 3537431380 9511673641 2225318765 9913090226 8650961383 5605220900 4825766446 8488527835 3921760134 4655873369 4544510704 8724762736 9931672189 2408484968 7641225503 7531732455 3726176368 9599904882 5846800330 5210468761 3770846445 1275544822 5536778599 5391238693 7497129224 5927837422 3575763195 3135822244 2113037408 3573215733 0035548105 5940351153 7101049409 8024769649 0643913791 8201452713 5372996742 3278612581 2129327919 4252077808 3840597638 2287188688 3386600532 4539626666 7431096143 4495965751 7315319567 4782291045 6324340326 1613460894 3141910229 7527271113 6880893959 3852194094 0278777168 9191404455 7894219976 2890494558 6404667963 7504555925 5800770915 8422169026 0216524481 7765409607 0047684674 9460982793 7455148695 8191982408 3709230172 3456680270 4858507384 9250299947 7520726165 2290937597 2700461863 8574238855 3218103204 1873189824 0079783895 2285098933 6964681299 8787171923 6102285087 9549673078 4218902629 5283362797 1368000913 5339560959 4961675124 9718366032 3100321370 5594058063 1299835305 6937278258 1306221905 3782198289 1082685880 8246088081 4800910987 3818988605 1749495905 3842498591 8063064032 8796348186 6192697811 4452220198 0725628236 2534523468 1742521324 6708176119 2345466916 0894434976 2712310307 0396540298 4564224622 5049591014 0776712484 5599557863 3874943124 9367394600 0263933483 0693119619 3023077844 9536846141 7120623588 4848542491 4552675893 3325351118 6977446354 6369920121 6667657025 9010077490 5691167047 4959216106 6030147215 0473393324 9220276973 0200382459 6275862603 9564674370 2179441607 7677488601 4612782761 6543041390 5884981004 1560683707 5615109079 3825671423 5810306405 5483371731 3663170048 1792569339 8421983740 8890310960 8673812248 2534339195 2608617528 9116660428 0899201526 2774331717 6031645014 5712013550 7044322873 9433336896 7977677463 9966035923 8356980323 3430916592 2902017829 5598404051 3966287669 7173331483 0123377646 8293793879 0158582193 3449061284 0333930738 0388975954 8283828436 5315881875 6015516494 4215049337 9758281803 4842958655 1101816666 1062515638 6314430929 2981260885 4348345744 8369503147 8317317232 7803039494 1087223675 6365837433 4838948193 2598724697 5519583582 7981098610 3241979289 5022244991 0269974582 7758338375 2022878020 6279962512 8424381521 8985113854 2382873411 6501268059 4305347352 6608344566 8148332506 8087512037 9707705192 9888850847 6762809604 7099212287 8125378570 5803304697 8253069139 0556667260 2177421074 4308046092 5233735206 9687536466 7953566452 0530068357 5016084099 2160895142 0031772354 3454739689 0685511421 0165492209 3540654600 2719672621 1059282140 5447255685 4788950218 7996197698 4980671810 7977434504 6573644365 6571767796 1911814747 3606465652 9214375005 2512734605 3553148766 9303123339 4623914415 6710155076 4224060469 6176607396 0731169510 2005753874 4084294401 2877083085 7477899392 0814183663 2785145419 3954380142 0979904437 9310019059 8658864452 5102482259 8274544195 4481863254 6615610040 0360570276 0937372906 9367232516 5622302575 4982696136 6385882793 8445010729 7900880054 7863980019 2669602674 6976217265 5807383762 9212173978 2824504072 6543741295 8523791854 2860230157 2976933481 0500787831 7958106458 7085882271 1996189010 8373220181 2685526730 3394152764 3340675055 0945767273 2087750961 2933692061 1232716910 4560355956 3181646544 1308146865 7899742799 6730823723 6610896456 7546277932 6368457186 0193009380 8955945418 3735059503 0811504840 6537027500 2495570451 3119321966 9819515448 6470287109 8882313507 8942782640 2679323811 2341957255 2637304093 8258218958 7937245909 8772563947 5964139797 0649173488 2213459544 4056637018 8236144956 5904338255 8497402511 1725832631 1884528620 7272933209 6368486774 4469595760 6275081366 6985836189 4157682957 4014103683 5080056368 3254809350 9080816320
- c2= 40 4964132168 6432896396 6560293191 1801259907 8617731806 7851054388 2828427486 0602507378 0188815846 7376440426 2770422634 0652880383 5871942786 3156073548 3262521881 8426501185 8367003195 5277701806 5047961176 5318756088 1906671957 1662539184 8611592759 6938418820 0529993800 7994552307 7667984072 2637323968 0336285554 0990923473 4376222718 0322635495 0289859901 0928211111 5682230212 6870004884 6743615009 3025107258 7265469873 0468971192 9719065656 7037832767 1028616489 4099750357 7661538175 7401996462 7774937698 0806719263 4007444218 6865529002 5915709937 5828966627 0011527965 9425511163 1048019511 2179058361 8706069105 7752081545 2134804768 7782757326 3749306006 4685355200 7455838480 5452067082 8974578191 3379097810 9501643023 7033215720 6630177039 3690989920 5942240469 0379884280 0470785555 3768238087 1239126076 8978668621 8010203622 3946115529 5896567404 6709583336 2501403845 6171912761 8826769415 6650565807 9768732001 3059194622 5176988321 2920419522 1349039644 3856338172 9322644022 7318415607 4196499536 7532722731 2205326905 6049917820 0220390445 2149520634 5399274115 4823071190 1740177989 4304810486 1579789174 3116706501 0590251373 4173660816 3141764723 9212155338 0030354333 1987030755 7942601579 9791343446 1844841157 8363118059 0744527530 9367174667 0039205194 3017421344 6418115829 0044443386 1138039401 6370058217 7751888423 3707918296 7371452671 5753573912 1837437447 6489634087 0460490606 9191063139 6855383318 1418976733 3127901520 4154609814 0729250749 9657605666 2712885640 4133771455 1628915971 5116486120 8518593310 2864289230 5143483687 8476138575 5259805870 3833342437 7853025245 7199436186 8139558819 2007128710 6936079036 9154086275 6980499520 8456283837 3971435247 3930021850 7197463160 9433493692 3848090218 0837632929 4306245183 6594080536 5651616644 0841036879 6103641340 2089147631 5894217858 8273709120 1383724209 4207989530 3005886008 3615239457 0170302686 4906931901 7949370460 6743304375 4042478801 6084939863 3226665420 3070468544 4590112949 2275022367 6955386921 1802788656 7579089186 6480252930 0859517609 2025733942 2505314453 6705548011 5478786214 3153023950 4825748193 8552620741 1003787058 6903126176 8618689881 8081844385 7031942515 3825464792 9404367876 1659095975 7029216936 4129981500 0401583508 6299439027 3981197439 4196703830 2451754030 8336508861 2941015580 3355881870 8232885484 4447054625 7091349471 3756568041 9528127543 8455164334 4885403552 9553156294 0453872117 4449055861 2092674161 1191345760 6238634246 0301402897 0893825465 9375443244 4979532898 5846473340 4674892712 8499422563 7314147052 8641895439 8276926562 0537768841 6365570192 4111564464 5879199028 3945282116 7048665160 3163819153 8207075605 7505267079 8571276856 7834009417 8109780631 9217466443 8068851523 6282999406 3242672315 0779492562 9188236778 7172252112 2812298988 7309900308 1717737399 8852541294 5342507237 2108085986 1688241700 7655101931 1931102466 9614516699 3673724972 5334177611 3003246321 5140434346 9465743974 1112119010 4805974830 7916276032 5022331923 2725016358 9142473579 5803234865 2384091023 8502529503 9396639582 5114616941 6711232862 9568172478 2396277320 1171427480 5028453287 0927169686 9128703704 8586188931 7218792670 3583722866 3589225591 0795963739 7001909275 5407376135 8338837213 0728181810 8046584939 6334576164 8216361754 8969499160 3027057746 0449280122 9474364336 8343112954 6216875021 6051426305 7464102981 1622837470 2463297776 6247936982 5308059330 2363563844 1763309624 6530595706 4642530581 4669952504 8347519395 9356330181 7218575741 8264436959 4331020746 0973044902 8862325493 6498241113 6688005813 9073883261 7386820683 0943820973 7284650661 2700085539 9430480174 5951975228 5039624234 8339248163 2545839673 4165641191 2681738090 7725666470 3487428978 4094915040
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 ≡ 62 (mod 63)
and therefore cannot be a square and N is prime.