In[]:=
Print["Start time is ",ds=DateString[],"."];prec=10000000;(*Numberofrequireddecimals.*)ClearSystemCache[];T0=SessionTime[];(*Sixth–orderPadékernelforn^(1/n)*)Clear[RootPade6];RootPade6[n_Integer,prec_Integer]:=Module[{x,pc,z,t,N0=n,A1,A2,A3,B1,B2},(*initialseedatmodestprecision*)x=N[N0^(1/N0),13];pc=Precision[x];While[pc<prec,pc=Min[6pc,prec];x=SetPrecision[x,pc];(*coefficientswithcurrentworkingprecisionpc*)A1=SetPrecision[3(2N0+1)/(5N0),pc];A2=SetPrecision[3(N0+1)(2N0+1)/(20N0^2),pc];A3=SetPrecision[(N0+1)(2N0+1)/(60N0^3),pc];B1=SetPrecision[2(3N0-1)/(5N0),pc];B2=SetPrecision[(2N0-1)(3N0-1)/(20N0^2),pc];(*residualz_i=(n-x^n)/x^n*)t=x^N0;z=(N0-t)/t;(*6th–orderPadéupdate*)x=x*(1+A1z+A2z^2+A3z^3)/(1+B1z+B2z^2);];N[x,prec]]expM[pre_]:=Module[{a,d,s,k,bb,c,end,xvals,x,pc,cores=12,tsize=2^7,chunksize,start=1,ll,ctab,pr=Floor[1.005pre]},chunksize=cores*tsize;n=Floor[1.32pr];end=Ceiling[n/chunksize];Print["Iterations required: ",n];Print["Will give ",end," time estimates, each more accurate than the previous."];Print["Will stop at ",end*chunksize," iterations to ensure precision of around ",pr," decimal places."];d=ChebyshevT[n,3];{b,c,s}={SetPrecision[-1,1.1*n],-d,0};Do[xvals=Flatten[ParallelTable[Table[ll=start+j*tsize+l;(*solekernelforll^(1/ll)atprecisionpr*)x=RootPade6[ll,pr];x,{l,0,tsize-1}],{j,0,cores-1},Method"EvaluationsPerKernel"32]];ctab=ParallelTable[Table[c=b-c;ll=start+l-2;b*=2(ll+n)(ll-n)/((ll+1)(2ll+1));c,{l,chunksize}],Method"EvaluationsPerKernel"16];s+=ctab.(xvals-1);start+=chunksize;st=SessionTime[]-T0;kc=k*chunksize;ti=(st)/(kc+10^-4)*(n)/(3600)/(24);If[kc>1,Print[kc," iterations done in ",N[st,4]," seconds."," Should take ",N[ti,4]," days or ",N[ti*24*3600,4],"s, finish ",DatePlus[ds,ti],"."]];,{k,0,end-1}];N[-s/d,pr]]t2=Timing[MRB=expM[prec];];Print["Finished on ",DateString[],". Processor time was ",t2[[1]]," s."];Print["error= ",N[mtest-MRB,20]];Print["Enter MRB to print ",Floor[Precision[MRB]]," digits"];
Start time is Sat 17 Jan 2026 15:40:05.
Iterations required: 13265998
Will give 8637 time estimates, each more accurate than the previous.
Will stop at 13266432 iterations to ensure precision of around 10049999 decimal places.
1536 iterations done in 6436. seconds. Should take 643.3 days or 5.558×s, finish Fri 22 Oct 2027 23:29:54.
7
10
3072 iterations done in 9709. seconds. Should take 485.2 days or 4.193×s, finish Mon 17 May 2027 21:30:53.
7
10
4608 iterations done in 1.300× seconds. Should take 433.1 days or 3.742×s, finish Fri 26 Mar 2027 17:43:47.
4
10
7
10
6144 iterations done in 1.628× seconds. Should take 407.0 days or 3.516×s, finish Sun 28 Feb 2027 14:34:16.
4
10
7
10
7680 iterations done in 1.958× seconds. Should take 391.4 days or 3.382×s, finish Sat 13 Feb 2027 01:56:03.
4
10
7
10
9216 iterations done in 2.289× seconds. Should take 381.3 days or 3.295×s, finish Wed 3 Feb 2027 00:03:43.
4
10
7
10
10752 iterations done in 2.621× seconds. Should take 374.3 days or 3.234×s, finish Tue 26 Jan 2027 22:29:32.
4
10
7
10
12288 iterations done in 2.955× seconds. Should take 369.2 days or 3.190×s, finish Thu 21 Jan 2027 20:33:41.
4
10
7
10
13824 iterations done in 3.288× seconds. Should take 365.2 days or 3.156×s, finish Sun 17 Jan 2027 21:28:33.
4
10
7
10
15360 iterations done in 3.621× seconds. Should take 362.0 days or 3.128×s, finish Thu 14 Jan 2027 15:43:33.
4
10
7
10
16896 iterations done in 3.955× seconds. Should take 359.4 days or 3.105×s, finish Tue 12 Jan 2027 01:44:39.
4
10
7
10
18432 iterations done in 4.291× seconds. Should take 357.4 days or 3.088×s, finish Sun 10 Jan 2027 02:19:41.
4
10
7
10
19968 iterations done in 4.624× seconds. Should take 355.6 days or 3.072×s, finish Fri 8 Jan 2027 05:40:09.
4
10
7
10
21504 iterations done in 4.962× seconds. Should take 354.3 days or 3.061×s, finish Wed 6 Jan 2027 22:29:18.
4
10
7
10
23040 iterations done in 5.302× seconds. Should take 353.3 days or 3.053×s, finish Tue 5 Jan 2027 23:09:12.
4
10
7
10
24576 iterations done in 5.639× seconds. Should take 352.3 days or 3.044×s, finish Mon 4 Jan 2027 22:21:19.
4
10
7
10
26112 iterations done in 5.975× seconds. Should take 351.3 days or 3.035×s, finish Sun 3 Jan 2027 23:05:24.
4
10
7
10
27648 iterations done in 6.312× seconds. Should take 350.5 days or 3.029×s, finish Sun 3 Jan 2027 04:32:45.
4
10
7
10
29184 iterations done in 6.649× seconds. Should take 349.8 days or 3.023×s, finish Sat 2 Jan 2027 11:40:06.
4
10
7
10
30720 iterations done in 6.988× seconds. Should take 349.3 days or 3.018×s, finish Fri 1 Jan 2027 22:17:44.
4
10
7
10
32256 iterations done in 7.324× seconds. Should take 348.6 days or 3.012×s, finish Fri 1 Jan 2027 07:12:46.
4
10
7
10
33792 iterations done in 7.663× seconds. Should take 348.2 days or 3.008×s, finish Thu 31 Dec 2026 19:44:05.
4
10
7
10
35328 iterations done in 7.997× seconds. Should take 347.6 days or 3.003×s, finish Thu 31 Dec 2026 04:58:49.
4
10
7
10
36864 iterations done in 8.332× seconds. Should take 347.0 days or 2.998×s, finish Wed 30 Dec 2026 16:08:11.
4
10
7
10
38400 iterations done in 8.671× seconds. Should take 346.7 days or 2.996×s, finish Wed 30 Dec 2026 09:03:24.
4
10
7
10
39936 iterations done in 9.003× seconds. Should take 346.1 days or 2.991×s, finish Tue 29 Dec 2026 18:39:29.
4
10
7
10
41472 iterations done in 9.336× seconds. Should take 345.6 days or 2.986×s, finish Tue 29 Dec 2026 06:53:04.
4
10
7
10
43008 iterations done in 9.668× seconds. Should take 345.2 days or 2.982×s, finish Mon 28 Dec 2026 19:35:15.
4
10
7
10
44544 iterations done in 1.000× seconds. Should take 344.8 days or 2.979×s, finish Mon 28 Dec 2026 10:25:07.
5
10
7
10
46080 iterations done in 1.034× seconds. Should take 344.5 days or 2.976×s, finish Mon 28 Dec 2026 02:39:30.
5
10
7
10
47616 iterations done in 1.067× seconds. Should take 344.2 days or 2.973×s, finish Sun 27 Dec 2026 19:20:29.
5
10
7
10
49152 iterations done in 1.100× seconds. Should take 343.8 days or 2.970×s, finish Sun 27 Dec 2026 10:07:42.
5
10
7
10
50688 iterations done in 1.134× seconds. Should take 343.4 days or 2.967×s, finish Sun 27 Dec 2026 01:06:29.
5
10
7
10
52224 iterations done in 1.167× seconds. Should take 343.0 days or 2.964×s, finish Sat 26 Dec 2026 16:51:07.
5
10
7
10
53760 iterations done in 1.200× seconds. Should take 342.8 days or 2.961×s, finish Sat 26 Dec 2026 09:49:35.
5
10
7
10
55296 iterations done in 1.233× seconds. Should take 342.5 days or 2.959×s, finish Sat 26 Dec 2026 03:19:51.
5
10
7
10
56832 iterations done in 1.267× seconds. Should take 342.2 days or 2.957×s, finish Fri 25 Dec 2026 20:56:25.
5
10
7
10
58368 iterations done in 1.300× seconds. Should take 342.0 days or 2.955×s, finish Fri 25 Dec 2026 15:36:37.
5
10
7
10
59904 iterations done in 1.334× seconds. Should take 341.8 days or 2.953×s, finish Fri 25 Dec 2026 11:39:32.
5
10
7
10
61440 iterations done in 1.367× seconds. Should take 341.6 days or 2.952×s, finish Fri 25 Dec 2026 07:09:52.
5
10
7
10
62976 iterations done in 1.401× seconds. Should take 341.5 days or 2.950×s, finish Fri 25 Dec 2026 03:06:18.
5
10
7
10
64512 iterations done in 1.434× seconds. Should take 341.2 days or 2.948×s, finish Thu 24 Dec 2026 21:18:38.
5
10
7
10
66048 iterations done in 1.467× seconds. Should take 341.0 days or 2.947×s, finish Thu 24 Dec 2026 16:48:34.
5
10
7
10
67584 iterations done in 1.501× seconds. Should take 340.9 days or 2.946×s, finish Thu 24 Dec 2026 13:38:05.
5
10
7
10
69120 iterations done in 1.534× seconds. Should take 340.8 days or 2.944×s, finish Thu 24 Dec 2026 09:56:21.
5
10
7
10
70656 iterations done in 1.567× seconds. Should take 340.6 days or 2.943×s, finish Thu 24 Dec 2026 06:16:05.
5
10
7
10
72192 iterations done in 1.601× seconds. Should take 340.5 days or 2.942×s, finish Thu 24 Dec 2026 04:02:42.
5
10
7
10
73728 iterations done in 1.634× seconds. Should take 340.4 days or 2.941×s, finish Thu 24 Dec 2026 00:57:41.
5
10
7
10
75264 iterations done in 1.668× seconds. Should take 340.3 days or 2.940×s, finish Wed 23 Dec 2026 22:43:03.
5
10
7
10
76800 iterations done in 1.702× seconds. Should take 340.2 days or 2.939×s, finish Wed 23 Dec 2026 20:25:36.
5
10
7
10
78336 iterations done in 1.735× seconds. Should take 340.1 days or 2.938×s, finish Wed 23 Dec 2026 17:21:49.
5
10
7
10
79872 iterations done in 1.768× seconds. Should take 339.9 days or 2.937×s, finish Wed 23 Dec 2026 13:50:47.
5
10
7
10
81408 iterations done in 1.801× seconds. Should take 339.7 days or 2.935×s, finish Wed 23 Dec 2026 08:54:59.
5
10
7
10
82944 iterations done in 1.834× seconds. Should take 339.6 days or 2.934×s, finish Wed 23 Dec 2026 04:52:32.
5
10
7
10
84480 iterations done in 1.868× seconds. Should take 339.5 days or 2.933×s, finish Wed 23 Dec 2026 02:43:27.
5
10
7
10
86016 iterations done in 1.901× seconds. Should take 339.4 days or 2.932×s, finish Wed 23 Dec 2026 01:24:39.
5
10
7
10
87552 iterations done in 1.935× seconds. Should take 339.3 days or 2.932×s, finish Tue 22 Dec 2026 23:47:07.
5
10
7
10
89088 iterations done in 1.968× seconds. Should take 339.3 days or 2.931×s, finish Tue 22 Dec 2026 21:54:57.
5
10
7
10
90624 iterations done in 2.002× seconds. Should take 339.2 days or 2.931×s, finish Tue 22 Dec 2026 21:07:31.
5
10
7
10
92160 iterations done in 2.036× seconds. Should take 339.2 days or 2.931×s, finish Tue 22 Dec 2026 20:27:21.
5
10
7
10
93696 iterations done in 2.070× seconds. Should take 339.1 days or 2.930×s, finish Tue 22 Dec 2026 19:14:02.
5
10
7
10
95232 iterations done in 2.103× seconds. Should take 339.1 days or 2.930×s, finish Tue 22 Dec 2026 19:01:55.
5
10
7
10
96768 iterations done in 2.137× seconds. Should take 339.1 days or 2.930×s, finish Tue 22 Dec 2026 18:58:35.
5
10
7
10
98304 iterations done in 2.171× seconds. Should take 339.0 days or 2.929×s, finish Tue 22 Dec 2026 16:34:54.
5
10
7
10
99840 iterations done in 2.204× seconds. Should take 339.0 days or 2.929×s, finish Tue 22 Dec 2026 15:30:20.
5
10
7
10
101376 iterations done in 2.238× seconds. Should take 338.9 days or 2.928×s, finish Tue 22 Dec 2026 13:52:30.
5
10
7
10
102912 iterations done in 2.271× seconds. Should take 338.9 days or 2.928×s, finish Tue 22 Dec 2026 12:58:40.
5
10
7
10
104448 iterations done in 2.305× seconds. Should take 338.9 days or 2.928×s, finish Tue 22 Dec 2026 12:10:02.
5
10
7
10
105984 iterations done in 2.339× seconds. Should take 338.8 days or 2.927×s, finish Tue 22 Dec 2026 11:08:41.
5
10
7
10
107520 iterations done in 2.372× seconds. Should take 338.8 days or 2.927×s, finish Tue 22 Dec 2026 10:12:43.
5
10
7
10
109056 iterations done in 2.406× seconds. Should take 338.8 days or 2.927×s, finish Tue 22 Dec 2026 10:13:12.
5
10
7
10
110592 iterations done in 2.440× seconds. Should take 338.7 days or 2.927×s, finish Tue 22 Dec 2026 09:27:17.
5
10
7
10
112128 iterations done in 2.474× seconds. Should take 338.7 days or 2.927×s, finish Tue 22 Dec 2026 09:24:09.
5
10
7
10