Primality Certificate for (6848^3671-1)/6847 |
| Andy Steward | 14,077 digits | 29 September 2008 |
| Originally by A.A.D.Steward 2008 |
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 40.395266% factorization of N-1:
| From | Factorisation |
| 6848 | 2 · 2 · 2 · 2 · 2 · 2 · 107
|
| Φ2 | 3 · 3 · 761
|
| Φ5 | 311 · 4651 · 1520588501
|
| Φ10 | 11 · 199893608035171
|
| Φ367 | 2203 · 6607 · 16883 · 222863687 · c1385
|
| Φ734 | 140929 · c1399
|
| Φ1835 | 54785761 · c5608
|
| Φ3670 | 3671 · p5612
|
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
:
| 50 1893387213 2357776559 1489456500 3747279535 0964736441 0359181714 5023408594 0301962577 6639831991 9874183885 3591980637 7152667296 8076614930 5021656555 7715163288 7262567032 4472092330 7264472641 2735160886 9973377270 9594717257 7484036692 5415507059 5904620863 3736129258 4605835243 1652628609 3477667166 1124191691 4565044934 6224263339 1787287891 6954559639 6472150344 8892136260 9241289759 4574514388 9438479230 9855119772 2482725881 6070365022 6303218791 7324581744 1113409781 6516823082 6324227799 3491507959 1984034837 1446804402 9462164381 7100450133 1090141402 0656395800 4408763159 6281845334 7902551047 9047804363 4993012675 5436288860 1253134203 1358651828 8372902823 7948133318 0238923619 3267117415 8213566157 6332071052 5951703070 4861885798 5104201930 4305639835 0434573470 8006201282 2765771028 1050849346 1248458792 2231719799 0487637977 5986929902 7669521156 7104794875 0459027167 5086813462 8621506586 8097151007 4850891567 7706962614 4626420293 6480709708 7771928366 0737400314 1943403129 2037153997 7255846740 3195618550 8803517657 9156157758 2226294572 5857284958 0201486076 5208472521 2523928935 8221668073 7134138548 4803477721 2698389938 8281011136 3601532573 1044604588 5868708333 2837325300 2295779609 5960298252 3812890408 6048274607 4843597633 4731920116 4438734400 6015123285 3654648433 0981241351 5955680069 8255544476 5238472802 2381692931 1988957401 3172423881 9015453165 3015963196 9825404606 6817600699 6329164125 1565133153 3242928854 9157089203 2456564641 1603960382 0769075520 8993194174 9014498768 0612889029 6505756601 0387590442 0307876665 8984176111 6714067728 0019551543 9728539921 8937389490 0454291353 1897802721 7201503948 1822918726 7872448345 6469802787 4783614192 5357455597 9712854843 8902878879 8029492503 1259196470 9467051692 2024122283 2858407291 3263104383 3826465632 7606803755 8947911468 3433421829 1737189475 3943984341 9856830205 7700312542 2126615902 9840224708 2388597883 9127441962 1312514548 6718197565 0031319723 0527310415 1887311353 8508778883 5804329415 8668098447 4903363568 9299545348 3751617787 3901069605 5987028153 3055676539 5870681628 2793940435 3944758289 4404387568 8500602326 5989376829 8795015411 8221986333 3079058566 7425445664 0977341275 4748775660 1404187249 4976733836 4556828300 5873291558 3844297255 3141665128 3866910105 4832516158 5088907138 4225916403 8818002300 8428461885 4641450581 4714769181 9070551509 6867651024 3330067248 3726929973 9372444338 0320126419 4605800400 4707211052 8487477254 0194278641 7400224729 6011656687 8050824167 3253869162 6502717417 3475222717 6703743979 7421227430 9191713419 6482856420 1376418438 8724039052 5359811112 8219843862 0614115318 8441373123 6503011506 5326020061 7061364929 2596394568 3023524384 7329732756 4852033431 9790408780 8397595816 4127744331 2971670614 3248944786 9595057902 1469320974 9398430757 2509581120 1505611083 4144377302 6542359260 6010268223 6358373276 4040239872 4290952378 6544348644 9446050752 0465952592 4484248733 5061099957 7024948322 2882136006 3107966109 0041602410 3212858513 7190108095 6510545505 5239811714 1121774039 9898414985 5687749551 1447996614 6778507353 4092586616 3002763418 8722368043 1863056019 2316630205 1978998200 2815281337 8808556702 4507624352 2226576386 5542210556 0137820130 9911387736 6003309409 4926951061 5157990105 2856061425 9239521131 0700846584 5751394003 7261644484 4793731945 1674703492 2847538546 7489851071 4395089233 4288361977 9453016640 7865022203 6561623939 7087699672 5248720371 0247738287 8405949620 7428246043 5870110760 6659996159 8619292550 8740506802 2671380213 1093841033 7381345169 4566706439 1682538547 1976802411 3440489067 4517038294 0995761744 1969530278 2186790705 3523780129 6999937026 9449715931 3112033506 3000847144 0482373988 0671859938 4726734454 7407072035 7662911178 6041442492 3298593528 5857310469 1609025495 3119421280 4953401382 6383709932 0127179952 3053614834 6091420962 0170733953 5590332853 8296679964 1190001164 3976264399 1421686415 1585150264 1201863676 8303013427 1362095313 9858244876 1278679264 8177797721 1548494813 9092905466 0246093348 3396204647 0928619964 8461782419 2626097570 4421564860 4598738531 4945538324 1883519623 7660658133 0316572972 5910857596 7201712020 5583755908 8870857957 5824170936 9111055375 4828467207 3216217090 5812736602 5486438532 9315126241 4892368474 8876668505 3119856423 5132957256 5218069576 9926466749 0857841623 8226559083 0044224073 4157293080 2601266832 2020465084 6624628386 8688702785 5632356589 3345769011 3372804472 4309705233 6943454001 8230909059 4861901959 0522780865 1808315629 2143523511 5944479124 3897496809 7445748389 7191576133 1840867765 4777573029 8374438617 5211004837 5596955836 0371772268 9442925091 2851971664 7578066193 9594606070 9273348509 7447916366 0525768573 4953984753 6291905739 9285489665 3510230308 0689619970 5663249614 9361237918 7730316577 9995244431 5233716459 8286459059 1053188152 2850385106 4811586178 8839410895 5301936191 9276321172 9348259455 4708430586 1703757055 2266674759 0376997830 6322357390 4255221750 3490699827 1534800626 3258052860 0452680177 0296487793 6348610486 9968310294 9282963581 1036288638 7644775940 3948955233 1360324264 7782850850 4633166047 3998981558 1787045260 5015433135 1112891249 5598131259 4461170623 1110593627 6703268962 8583053735 5019670799 9613428891 9749375505 8096757970 4933356655 0817332634 4379249407 0688649935 0167011770 5968161715 9069140209 6394989012 3388043198 3899376070 2555726708 1368611387 7189866218 8920068881 7796931529 2548835087 6915342651 5959465400 5201116154 4966933287 8033695008 9983316253 7631973833 5827757517 6221887256 5014989920 5128185874 1210369796 3277648051 1750338695 9535912016 0944599739 1196839449 5185187518 8949337928 2219264767 5778469826 3163078317 1399857875 1549203432 5079172977 1446734084 0517708543 9243545884 4147885381 5307272794 9902521990 5369368846 0596246930 8328648712 0473957526 3479850517 2005359387 2533359605 8938497206 8811188163 9852864498 4460226194 7067881354 6406257899 7494911172 8670851219 8746632846 3920878075 5477342968 2212970523 2690998477 0156778975 8667807236 5836202078 2584154369 9474079485 9357143689 7314910828 5783202148 3466022653 2669721422 6536546471 |
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) = 39.865684%
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.
- c1= 39 4360511641 1871598932 1193701763 1102725850 5650691113 3011888071 2753897799 8952031352 1005154975 4479788126 6587535538 3245414058 2481698309 6394992298 8244132976 9749176374 2611341717 4395043494 9688208788 0890429343 9114879340 8334178093 4531244045 6545473965 9632010429 4607768892 6871789384 8825741106 1318555761 6526937600 1560761905 1820594254 0268078116 1533542990 4343463280 8196018534 5233078342 7074487843 2455169325 9377401087 0521186479 0055691120 1286147186 1134824686 0356434669 8645296562 0707508809 7688638443 6743655277 9101277110 2088567506 3716220350 9731475011 8843164276 1500851161 2635566618 6253423028 4250388227 6069407633 6313985981 1407849691 7109130596 1758574156 7063737267 7052299064 8632829841 9843222179 4891216959 1376799415 2163079653 2373936368 1223602347 4379051102 4752424146 5175050311 3993969373 7637892875 5487584682 2668275577 1704691663 9553643409 9236098460 8144743161 9977173278 3753858977 6938483516 0809618645 5102985421 3270953444 3144877261 4979876397 0155616888 4352254784 2505689420 6103757529 3904326712 3683383779 6462314123 0482283200 5474513669 0057190326 3236269559 6207473964 7404946018 8147029376 4322672392 4193345978 3288483312 8818456650 5911150990 6625501696 3977113232 0179115612 3574317277 3906779230 0665774100 7865887282 9659762096 5731176175 7362641824 1664828168 7723318062 7517866114 1665398521 4022711840 2000962584 9403773986 3634166500 5582865780 5996885757 8425396781 6598642178 0841305150 4140055095 5814975889 2159532316 2615642888 2099843187 1532552163 1327297118 7629230755 0051259020 5328645622 6267909516 9466170217 7292490780 8749114547 4768445272 3511487579 4427353217 4910205731 3939548888 7426216262 6136084723 1752232948 2450101410 2296350389 5261451593 4175184514 8736478701 1563382067 1379105900 9856839182 7191212388 9784650442 9091044998 4303286725 0933220928 8282723739 0031558255 8232603440 9059405068 9415463922 4629939178 9183643775 4235527474 1420423215 4616814410 9616460186 9018329211 3368910476 6635568144 2555459382 7461266577 6783170680 2246253249 7215065572 4051950298 8401891993 2994042860 3452539766 7560138332 1371607936 6762494464 3186155268 0609499126 2015897085 5486663197 8389701544 2086364114 0754914221 2422680891 2012328472 5508182766 5105130427 9438547722 6755996580 1238837335 1234432363 1839342247 3345835684 6469741551 7326629217 5966241036 7364557462 2166058730 5851534715 7382732163 2999556376 6483972805 0598931394 7396487591 4432931230 7138777005 1894960634 4860906619 9247147523 3768542287 9004339561 9090613994 4808794522 4271158128 4255396264 2130296861 5470454736 1392057572 3247811821 2853093500 9688232817 6783377214 3978787787 0440184082 8657015832 5162290332 2835400603 4729099360 2186154925 8750775695 9052718304 3508681154 3810778332 2503149626 4496460420 9695865036 5222626398 9838091355 8566517722 3859143781 8037322393 2247727125 5688148077 7391250594 7179092017 4033598397 4081567184 7040356915 0227631913 2177559959 9840342478 0739777740 0705231162 9092189568 2650195956 4702914804 5045103106 1090284621 5580952468 9064807188 5086926686 4208433523 4621509072 9312121014 3360628273 2535178846 4059897180 6185901444 9441556896 7930953904 4057758215 8558056129 3288478691 0762382804 0287866074 9171751272 0405592637 8492985585 6188588582 2856404939 8379873917 1834378087 6933782747 4033682442 6985622115 5271286656 9368723138 0895323187 5275289146 8514642526 8744763949 8093410263 7428273322 8195885720 3784696868 0692498436 6340269349 8150739827 0940971518 7063532782 1814512007 3752182838 0872028529 2912486333 2411848487 8336793566 0184732694 8314829416 0474496953 8082672321 2974324079 6014288182 1075166645 5755396258 7672860069 6387459324 4918641317 0419112195 8469325501 7459141268 2772682581 4195293129 2246912000 7277615213 4518774288 3631730997 6471879744 2288072613 3768413951 2320221580 9519860740 3337125666 5100680507 4088539235 1983123676 0913077957 5948378657 8278952936 1185356828 8243348366 3588769164 2156955296 2688492539 9396235808 5799651268 8758298932 2686922365 0603080830 2496940519 9084402234 3846915642 9403239698 2718209581 0368917103 9685174443 6443465010 8045570169 3112489163 0554548880 4050436041 4577821053 8499074425 6667213943 3846240787 2942983319 6746781920 8110711207 9132098425 6021199587 4675514524 2189648447 7452466672 5823773795 7079150342 4705195933 7780754718 6361225360 0244371889 0346778313 1417436532 2281128650 0020143933 8362237004 7903434432 1961457887 4666350331 7298849275 0591803483 3679018151 1602992268 3917951534 5809227768 3376995872 6501684320 0965760340 9774899676 5259552576 6581173899 4036590161 5927870065 2379302076 8070417788 3861408338 0706625287 2156657657 1780414285 0412075160 7519743273 8001740560 6744594632 9467531207 8230978583 1077341443 0395143436 0690267560 0373784291 3615289774 9006681250 0929134845 1821660798 6706533676 0690014282 6422019521 3648639481 5884691520 2797780632 7584625429 1889705105 1631132711 1921495109 6165414121 2867547882 8100737949 8047064407 6279296624 0903516481 7990472064 4721065676 4692201984 1404628565 3079231212 9630586047 3741950728 7446935307 3764458697 7788144697 4336524804 5001351250 8970246477 2704656134 3552355062 0913755519 4207531582 0898808483 8764098717 3042722576 2725249860 7490659479 8193930997 2259770932 9808987791 6305795835 9027946860 1495917922 7744465035 0214530718 3923026697 0815626030 7675508632 6352263714 3271047840 6747808116 0037665650 4375306361 1999241818 6680821495 4853511925 0842535865 1745092019 0685954241 9165729108 9710279415 1114146487 2015938779 0082717336 5133266083 2326734787 6593316997 9677244308 3185866378 9526035920 3731225873 0024848186 4340747368 7902255136 4240586064 9497274273 5248447522 6455977804 2818029236 9566796736 9053909680 6307776327 8900548108 1074279106 1585784833 3405216213 5376778725 5330940609 3707815131 6042398100 2791747048 6428786145 4873021556 1701450015 6649056700 8511520052 8185043711 4684112376 4513967314 7702014151 4792648103 1881299537 7076484982 4332589150 4434264416 2569178319 1250670861 6293057879 3398860776 0581184316 1624221450 4126723677 7834444162 8394957414 7705640628 9932146862 9535644952 6804104643 8236786564 0186166716 2040517431 6230421476
- c2= 1311 6232372350 9660179950 5555112713 3533190163 6962212362 9040024305 5767581349 8403883778 6489950682 5086571885 9202603332 9272031223 0301660895 6201730961 2273556021 8205716553 1707054700 0093584327 0837172812 6796754525 7521678906 3874912621 3824538157 7839676007 3009010879 5762007240 2928702125 5912381269 8790153986 1981744577 9605166715 1041173619 3611501762 7479678638 9333812982 4442637340 0593370877 1846974472 9281891948 0543656281 1016498288 6218988518 9916205636 8673358455 0528046834 8372840676 1180030416 4034457351 2890337892 9685068726 8888354012 7994204391 2689435909 7462451725 7352305305 1820343398 1472586366 9490395179 7389360218 0250235426 0854584438 6062401638 6885223376 6355916767 8001872118 2569341630 0144183716 5013983755 9498900272 6084920651 6398523277 0328019503 7718791111 0610847613 8438295202 3448329341 4333016323 4007370999 5976140091 1195757496 5479443145 9891264059 8153571226 5630135951 1046206554 5665301603 4313338953 5507846771 2613220265 8394829725 9523294460 0509386995 1139170269 0727403099 2509789053 9093405356 4659860647 5207036486 7551351659 2390819583 9191043044 4713776391 2614140483 7900097867 3450620498 4152697062 2551462277 7775729228 1722677487 4414070384 4302789908 3680560021 0084065929 7535565478 6994555729 7312812164 1429565231 9719497109 7932982070 4013619472 2189295457 5189916628 4359431077 3921428185 1935893018 7896041042 0599520395 3493808342 6506299661 1660660125 9149123132 2098989379 6673634493 3986375478 6154029755 9582359971 7110109496 5926797823 7006651853 8478928783 3318532092 1293041580 8920911452 2393006826 5772595832 8425988145 3414213184 4276680949 4251083957 5841164419 9513268223 1797498965 5334095040 9059630980 2937717396 2618965171 8513182026 5064401439 9793100658 4360706416 7127132824 2329531796 7094038120 5919985735 7029277379 3549899845 2707589425 7426435315 5752226636 7446450072 7274468597 7519253724 3009335891 4080570107 2887832984 0556446606 4986419439 1464044453 6914557868 8906088639 0054141948 6938999451 1948884054 8910963843 7840747409 6068625978 3686420392 0263136546 6026185450 9184068345 5563748336 3917228879 9599997519 1645569668 9770776657 7964750114 1752784088 5200581440 3249463886 5739788095 0519466991 3714869790 1493794872 3740069465 2110064223 6959620574 4637835562 6393198214 2843447970 0290062715 4569577890 9801444628 0017212781 2445432158 5111915564 4056490654 5707695726 2013094208 0780742174 1023677167 0934809692 2263019266 6838158614 4417084495 5094346111 8430296060 8350113224 7930966978 5848900088 3320195388 6556752466 6530108513 6779058941 6535456764 1601505097 7977914947 5584830000 6023287485 3600669617 4515009049 6642603532 3943155746 2336243853 9206593954 3917980866 9742972218 1383696516 7162037634 4778052699 8054178397 6009627804 5153261789 8181380627 8850519092 9447685194 0593359681 7612632102 9342849836 4939845176 7224898295 4430683028 4590532277 7749304934 7184588026 1092999329 2760194027 6312870929 7585287749 4379821765 8606434422 6911105207 2528224281 0080536954 7520593390 8786555461 2934468029 9276406479 9732536517 4333673810 7845399853 9179068397 3131110850 5780573594 8548857961 8038556996
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 ≡ 5 (mod 63)
and therefore cannot be a square and N is prime.