Primality Certificate for (10247^2081-1)/10246 |
| Andy Steward | 8,343 digits | 19 September 2005 |
| Originally by A.A.D.Steward 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 42.441240% factorization of N-1:
| From | Factorisation |
| 10247 | 10247
|
| Φ2 | 2 · 2 · 2 · 3 · 7 · 61
|
| Φ4 | 2 · 5 · 17 · 73 · 8461
|
| Φ5 | 1811 · 154691 · 39359161
|
| Φ8 | 2 · 41 · 89 · 13121 · 115137329
|
| Φ10 | 11 · 1002194186424511
|
| Φ13 | 21700901 · 5120908428637 · 12060864644511216443800719713
|
| Φ16 | 2 · 23857 · 59417537 · 42875916664759946609
|
| Φ20 | 5 · 401 · 60626082835006547442851826781
|
| Φ26 | 1249 · 322374131 · p37
|
| Φ32 | 2 · 353 · 2593 · 306283700702315737722689 · p35
|
| Φ40 | 241 · 1801 · 8557461761 · 7315033528660979081 · p30
|
| Φ52 | 53 · 253501 · c90
|
| Φ65 | 1124238002788368131 · c175
|
| Φ80 | 6911761 · 58639531201 · c111
|
| Φ104 | 313 · 14354393 · c183
|
| Φ130 | 131 · 1171 · c188
|
| Φ160 | c257
|
| Φ208 | 3121 · 17024068049 · c372
|
| Φ260 | 2861 · 107627018514601 · c368
|
| Φ416 | 506689 · c765
|
| Φ520 | 521 · 485161 · c762
|
| Φ1040 | 28081 · c1536
|
| Φ2080 | 2081 · 14561 · 39521 · 403574081 · 31696143263201 · p3046
|
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
:
| 897578 6459891235 4771641731 1454294695 0314254963 7434195799 7332800491 6819238383 5284358283 8794974038 3666984472 2431177435 3722791960 2095053345 0631166023 1855145905 2587528349 1271822677 3172520267 6148665960 5301644819 3477839870 3200422581 5771174620 8732620574 7503897412 4533798639 9190898242 4367803570 5390125778 4086104897 1983563679 4250182377 9395508592 6714115112 9299849855 1474973327 6467783041 9062042128 7802210645 2217493513 3416287937 0198012007 9472901103 7598517044 1933080767 5074941840 9468146138 2250630805 3924343167 3817642058 5011806327 6045177389 5598128517 9830713045 8097223938 6929953589 6890714553 6739897623 5759965998 3982282767 4472120722 3192292103 4674226263 6179682667 7931612442 6066518764 6165475103 7766566140 9927468726 4552437843 8557329944 3107554488 0973856879 8858886930 9786371579 2870027822 8905236542 5852243398 7103579225 9709156348 2217743762 6289385416 7344830483 8015543142 2543937437 5510994765 6718845480 9372899419 9621868422 3097855077 9905977807 6131181359 0866929506 7092673580 7462845474 0223938202 8846516304 7350809106 5770903537 0957086611 1616611421 0610393297 2743538358 4376453635 8112028827 2589226054 3740738481 9337990536 8435356688 5876785974 4046907801 5709967175 3859747094 3095460758 8915627537 9304821023 6520666887 0735406834 1279136270 8820891400 1363146298 4581642218 8500829978 9697537514 9882469440 2522498749 7269613068 9980344678 4954831477 3916369789 9357324684 6066949527 5390111409 1718202966 9044249966 8289188768 7486232254 4984175598 5366745753 5786481101 6685153041 0192115057 8523483278 2048715572 9927185731 7007317756 8715391630 6310132526 7976249021 9434497040 8576282152 0564570699 0325246902 8482015387 6889130827 2213846469 9502633745 4478121864 9710769098 1272076251 6081348261 4632220061 6091172131 0774662549 0043211173 2724723260 9487419156 9933646836 9125379223 5667134685 5222943258 8865004671 6141734722 7171201054 7631640362 4053094556 1001530711 1846561074 0541013350 9332750326 1168734558 5494776574 3707028780 3127582085 6451297928 3107355750 6032835005 6697408461 0578574122 9978595986 8449008429 0845821199 4850091655 2123240442 5475820337 5877358017 3224856824 2349530943 2982551303 1343403428 1870415607 4810035980 6692896000 9313955493 8371229804 0696832784 3122404273 2409004034 9976670757 0387606861 0830797119 9622718158 8190037544 3751685357 4921457521 5395349500 3092316506 6844694031 1007504323 0696778458 4764543607 6185902618 1680559034 3314718007 5917529843 5199364428 0017825448 1943581801 0497770381 9974784921 5419995433 4565074399 2156145472 3265461588 8657371701 6470286448 9527754997 1743036003 8267473010 3321823202 0918220922 7863294542 6818924758 5554576502 0406273122 9122206029 1743752110 7659429289 1495229550 8067652719 3736974763 1741222377 5678191405 6379457199 7681475381 2991379057 9831897873 6719085477 6856242415 1648543511 1210746901 2039302522 3889282473 3148863894 2074761511 9220488342 7143462084 1261065351 1698962078 1767613328 3743317695 5694504886 0710359468 8068384982 6704747585 8007394429 1767024212 6858115659 6450569183 4586219015 0090818316 8508484886 2172320275 5639070279 8547110903 4772585069 1656246767 5689627365 8008039321 1929395645 9799443856 6545455952 5530902166 7307888491 9237612811 9740388161 1624831318 0638065237 5362417559 8327874984 9098594591 0590849885 7922811409 9571987841 |
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) = 36.513282%
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 = 29 suffices.
Express N in base F
As F2 < N < F3
and N ≡ 1 (mod F), we can
let N = c2·F2 + c1·F + 1.
- c1= 321502 4039410583 0764388556 8322980824 7867784083 2459837847 4547274819 8782608322 0329259701 5262302822 6435470721 5627798281 0673691830 3697915847 7827091480 0986568951 0345132641 1572085616 4117035856 1532852242 3526940902 4991574499 7144793175 3257877304 1777153768 2348165479 5728971404 3044172999 1941229660 7337669491 1926215593 6675744554 3128847289 3849455059 0575912791 7678162108 9587463606 5258321663 4584978978 3938523625 6064630216 0807903252 8657691203 3151039142 1821838527 4438259458 9842381081 0340434933 3677514645 3045319092 7475185082 4418634513 2059906404 4197260556 4120507210 4354559033 2816018902 4164446848 7198460304 3650114699 7971401303 5849373711 7813362484 8453485300 3589638433 6132053256 3309010722 8325911929 6174438584 5640621728 0978669420 9399316893 9703760001 1045681704 9757184758 6074173696 6604821599 6494458140 8635343868 1697260956 4037927366 5795346438 4977751754 7741121205 8902697963 3099380284 5805714502 2463221053 5857753354 6028914416 3455897729 4774052171 9637071597 4866448495 9616446617 3471466219 9553177162 2669013745 6937094419 3966349402 8051191475 9870482521 5004893948 9553853774 6892600511 7535735486 6328563304 6606335177 5031273206 1502806856 0527796654 8960779975 7725510397 5860362271 7271163476 9795076426 3327024512 6686594522 3072315350 5025808131 3817360085 7408036981 7823016488 6960574470 3122190384 5409785559 8014597932 0220523127 3885210323 0605527183 4889037393 0376867225 5032764470 6293354369 6721238033 2363107298 2883205424 6835298884 8340027761 7245359839 5113838145 9226479763 8630203226 8512705800 4110754065 2823811403 0198795253 5348964208 9025784342 5090067725 0178079654 4941924214 1369507560 5552767532 0566952613 0019823358 9598361950 4897000375 3458394226 4731458382 7959059129 7483754452 4272911148 3608686484 5846477801 5660607554 7442878622 6509743149 1475354664 4025975185 4860275648 6303747975 8065056328 7940676013 3097629110 9682619571 5427957936 8424323414 9958703800 6811001268 5853132314 7422336114 5692546362 2819128989 2394907891 3056437965 7330079602 2559096669 0228331939 4966168947 0429577129 7795028394 9580496740 6940580855 3128897721 5451477038 9864896689 1261079025 1728522492 1379620462 0080832732 7048814895 8535044362 2824112022 3713906138 1137253788 0060872142 5628772516 0099207905 2625059106 6617716894 6475483918 9870996185 8899522337 8907445102 3811124227 2672901890 6359410934 3370540788 7369547545 8027375505 8960833691 1029552174 4872253428 9437586565 4884619653 8087733559 9817551622 4914523704 8800932952 4988833309 3928842702 0890637862 4941389382 6685483122 9608131124 8298508311 3004517304 4601380491 0230439876 8134820457 8474064909 7308340734 2045472434 9285436277 6159822666 9770923445 8155693706 7893663499 9998273976 7189469208 6903492235 1942973999 9958474076 4317826034 8311888427 2314523420 1151791852 1302129374 0378295433 1305606010 3310643555 2314380304 3233293814 7108134242 2762368725 8595410403 2864248839 1046974877 9965201086 1118924399 7018319088 2546699142 8812389151 7852283369 1117535012 6272366558 0815293910 5241512772 5638639993 8953981464 4389949517 6814058694 5043884245 3028170430 7603905676 6690242429 7258538026 3320042077 8284607111 7857332617 2570843260 4726594991 4599659711 2354123364 1037160502 5115813890 2339981948 9414958346 6018704506 9893776292 8913630224 9309733884 0837212912 6522165087
- c2= 1 3649246294 8271309013 1272995814 3088920422 7827068901 5365116435 1373806840 9616712481 8475824301 9823006700 2630898639 9807617216 5659827718 5908669334 7057096619 5917411589 0049313919 2783187321 9755419716 7278625305 9699794079 2738130709 4044436647 3766309241 4745199868 8108529365 5575786693 1287552580 5936466255 9016598342 1048760367 6562260801 3462102193 6944016669 0504296132 2038129035 6089698892 9171875882 2696743256 8592979842 5479712469 8742538195 5400162068 9155627793 9923168716 5516830113 0994867241 1785398105 2640633002 1678253241 5993755906 8923646156 8156059629 3293164967 6112947527 6406904970 2559392035 1657374420 0207235939 2156246854 5879710155 1112299327 2480146264 6775139707 3640546228 0955698211 9219702613 8284014956 2981396398 2311975169 1267061177 5817838157 0194503741 3342195126 2782376625 2061102518 5652346105 1887250298 3513766463 5345618939 2130553369 7788872346 8161477629 6148640665 4580949565 7484806860 6640429630 8255831078 4585849107 2479497875 8510662500 1801018515 5780952283 2909792073 2476058942 1295981928 1825230364 7304644106 7125764684 4738459470 4904625823 9022284531 1743464117 7624654936 7970404102 9505363095 4011158898 1293224554 6924129213 0605568503 1677926399 4318634632 1174499060 9035930876 8114198082 8819137655 1651171573 6600842407 3349805376 1286258052 2921816289 3800301357 3360141629 2871167393 7170213704 9919505618 3697481571 8033213048 4310393541 0086087283 5168644983 2606247054 3285251621 3778960027 7912387893 1514142322 9482648578 6274329436 9996211716 3414634705 3946574960 0948977405 8849236464 0550566858 8728983222 6710400676 1790061924 5625220100 3803139372 5002582643 5708458973 2778107672 5873817543 8254418576 6073796051 8927781554 1679413307 0947867117 6517748319 3821384620 6385453115 5127494933 8979476670 1725899719 0704399871 3536090143 8959927026 2052479445 8999547031 5045198160 0817880995 4203944382 0363622605 0496725559 1245495336 2796054727 2163460564 4884319119 7263189098 0992452036 8714007735 1926207553 6566173889 8550542874 8127774853 0660335590 7498571677 0683013494 2859249600 1805321884 8170576241 7370986580 3983641544 9505119313 6113312197 7458674831 9818895168 3033869157 7652990875 1188814807 9710842760 3491240717 7923851734 4473944282 1921200071 7977542391 0139910243 3559658127 8153795797 8903124956 9240875165 7050148251 5267073744 8688447804 6070332865 6472855395 0083638649 6302029258 6738992826 1235833809 0893452235 7394901607 1029510554 5690176062 0754104993
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 ≡ 61 (mod 64)
and therefore cannot be a square and N is prime.