E-011-li-coefficients-arithmetic.py
Experiments: E-011 · script updated 08-18-2026
E-011-li-coefficients-arithmetic.csv
— 88.9 KB, updated 08-18-2026
| # | n | lambda_n | lambda_over_refined_asymptotic |
|---|---|---|---|
| 1002 | 1001 | 2329.072764269517760107949 | 1.00116147811 |
| 1003 | 1002 | 2332.087535037397228067572 | 1.00124184667 |
| 1004 | 1003 | 2335.096744655905843156485 | 1.00131942161 |
| 1005 | 1004 | 2338.099683383647708614971 | 1.00139390925 |
| 1006 | 1005 | 2341.095664461038464147838 | 1.00146502718 |
| 1007 | 1006 | 2344.084027414649233092265 | 1.00153250557 |
| 1008 | 1007 | 2347.064141260261397651855 | 1.00159608849 |
| 1009 | 1008 | 2350.035407588446158515735 | 1.00165553512 |
| 1010 | 1009 | 2352.997263517003315437291 | 1.00171062096 |
| 1011 | 1010 | 2355.949184495193546686472 | 1.00176113887 |
| 1012 | 1011 | 2358.890686945374809075176 | 1.0018069001 |
| 1013 | 1012 | 2361.82133072840308205121 | 1.00184773526 |
| 1014 | 1013 | 2364.74072141997692485864 | 1.00188349514 |
| 1015 | 1014 | 2367.648512385990238586319 | 1.00191405147 |
| 1016 | 1015 | 2370.544406645903926164544 | 1.00193929759 |
| 1017 | 1016 | 2373.428158514150212821999 | 1.00195914901 |
| 1018 | 1017 | 2376.299575010638328486289 | 1.00197354386 |
| 1019 | 1018 | 2379.158517032531899161937 | 1.0019824433 |
| 1020 | 1019 | 2382.004900280611344849976 | 1.00198583169 |
| 1021 | 1020 | 2384.838695934713223612329 | 1.0019837168 |
| 1022 | 1021 | 2387.659931073946997451265 | 1.00197612983 |
| 1023 | 1022 | 2390.468688838622173073226 | 1.00196312533 |
| 1024 | 1023 | 2393.265108332069111009197 | 1.00194478103 |
| 1025 | 1024 | 2396.049384261798826237039 | 1.00192119756 |
| 1026 | 1025 | 2398.821766320714583972321 | 1.00189249801 |
| 1027 | 1026 | 2401.582558310354753607055 | 1.00185882751 |
| 1028 | 1027 | 2404.332117009405947428456 | 1.00182035255 |
| 1029 | 1028 | 2407.070850791971693159472 | 1.00177726033 |
| 1030 | 1029 | 2409.799218001308584951509 | 1.00172975793 |
| 1031 | 1030 | 2412.517725085942931505571 | 1.00167807145 |
| 1032 | 1031 | 2415.226924506250399047622 | 1.001622445 |
| 1033 | 1032 | 2417.927412420713208574308 | 1.00156313965 |
| 1034 | 1033 | 2420.61982616215844892536 | 1.00150043227 |
| 1035 | 1034 | 2423.304841515321576007646 | 1.00143461436 |
| 1036 | 1035 | 2425.98316980806598561118 | 1.00136599069 |
| 1037 | 1036 | 2428.655554829517735986975 | 1.00129487801 |
| 1038 | 1037 | 2431.322769589239406233265 | 1.00122160361 |
| 1039 | 1038 | 2433.985612932364366659982 | 1.00114650389 |
| 1040 | 1039 | 2436.644906026338398105986 | 1.00106992285 |
| 1041 | 1040 | 2439.301488735565970566359 | 1.00099221055 |
| 1042 | 1041 | 2441.956215900830289191626 | 1.00091372157 |
| 1043 | 1042 | 2444.609953540846535888026 | 1.00083481341 |
| 1044 | 1043 | 2447.263574993714076548598 | 1.00075584489 |
| 1045 | 1044 | 2449.917957016353680221243 | 1.00067717458 |
| 1046 | 1045 | 2452.573975860248344373345 | 1.00059915917 |
| 1047 | 1046 | 2455.232503341949909682246 | 1.00052215187 |
| 1048 | 1047 | 2457.894402926867487373165 | 1.00044650088 |
| 1049 | 1048 | 2460.560525844817464159877 | 1.0003725478 |
| 1050 | 1049 | 2463.231707255688591592195 | 1.00030062612 |
| 1051 | 1050 | 2465.90876248335995023411 | 1.00023105974 |
| 1052 | 1051 | 2468.592483335705389140343 | 1.00016416154 |
| 1053 | 1052 | 2471.283634528126799829957 | 1.00010023199 |
| 1054 | 1053 | 2473.982950227582144481233 | 1.00003955781 |
| 1055 | 1054 | 2476.691130733514795333565 | 0.999982410749 |
| 1056 | 1055 | 2479.408839311451141944968 | 0.999929046342 |
| 1057 | 1056 | 2482.136699194316668249807 | 0.999879702831 |
| 1058 | 1057 | 2484.875290765730257953419 | 0.999834600118 |
| 1059 | 1058 | 2487.625148938676185739886 | 0.999793938816 |
| 1060 | 1059 | 2490.386760742027270633688 | 0.999757899391 |
| 1061 | 1060 | 2493.16056312640551015907 | 0.999726641397 |
| 1062 | 1061 | 2495.946940999822986917593 | 0.99970030281 |
| 1063 | 1062 | 2498.746225502451030081453 | 0.999678999456 |
| 1064 | 1063 | 2501.558692528724865170589 | 0.999662824554 |
| 1065 | 1064 | 2504.384561503809866906304 | 0.999651848349 |
| 1066 | 1065 | 2507.223994420239813403771 | 0.999646117861 |
| 1067 | 1066 | 2510.077095139293169359138 | 0.99964565674 |
| 1068 | 1067 | 2512.943908960406488066922 | 0.999650465227 |
| 1069 | 1068 | 2515.824422460640716799026 | 0.999660520221 |
| 1070 | 1069 | 2518.718563604922799198087 | 0.999675775457 |
| 1071 | 1070 | 2521.626202126487824879975 | 0.999696161789 |
| 1072 | 1071 | 2524.547150175652433127344 | 0.999721587572 |
| 1073 | 1072 | 2527.481163233764575385157 | 0.999751939157 |
| 1074 | 1073 | 2530.42794128790437810729 | 0.999787081475 |
| 1075 | 1074 | 2533.387130260661946896826 | 0.999826858723 |
| 1076 | 1075 | 2536.358323688096633231252 | 0.999871095145 |
| 1077 | 1076 | 2539.341064637794529315737 | 0.999919595897 |
| 1078 | 1077 | 2542.334847857792582624109 | 0.999972148001 |
| 1079 | 1078 | 2545.339122146034353425958 | 1.00002852138 |
| 1080 | 1079 | 2548.353292928969478257827 | 1.00008846997 |
| 1081 | 1080 | 2551.376725036911503561211 | 1.00015173287 |
| 1082 | 1081 | 2554.408745662831796228222 | 1.00021803564 |
| 1083 | 1082 | 2557.448647490395303018215 | 1.00028709155 |
| 1084 | 1083 | 2560.495691976241279308369 | 1.00035860294 |
| 1085 | 1084 | 2563.549112770782658026003 | 1.00043226265 |
| 1086 | 1085 | 2566.608119261145039135089 | 1.00050775541 |
| 1087 | 1086 | 2569.671900219293527021763 | 1.00058475934 |
| 1088 | 1087 | 2572.739627537905611194459 | 1.00066294741 |
| 1089 | 1088 | 2575.810460036143350126871 | 1.00074198899 |
| 1090 | 1089 | 2578.883547317160233941771 | 1.00082155132 |
| 1091 | 1090 | 2581.958033658948794314925 | 1.00090130107 |
| 1092 | 1091 | 2585.033061919995387565906 | 1.00098090583 |
| 1093 | 1092 | 2588.107777441159244906772 | 1.00106003562 |
| 1094 | 1093 | 2591.181331925234062039488 | 1.0011383644 |
| 1095 | 1094 | 2594.252887275781841904494 | 1.00121557149 |
| 1096 | 1095 | 2597.321619377049717245205 | 1.00129134304 |
| 1097 | 1096 | 2600.386721797089929827864 | 1.00136537337 |
| 1098 | 1097 | 2603.447409396599460619849 | 1.00143736636 |
| 1099 | 1098 | 2606.502921826476991753317 | 1.00150703672 |
| 1100 | 1099 | 2609.552526897658520255828 | 1.00157411123 |
| 1101 | 1100 | 2612.595523807436212767596 | 1.0016383299 |
| 1102 | 1101 | 2615.631246207184775217894 | 1.00169944709 |
| 1103 | 1102 | 2618.659065097212121154961 | 1.00175723252 |
| 1104 | 1103 | 2621.678391535312508500311 | 1.00181147225 |
| 1105 | 1104 | 2624.688679146526289931669 | 1.0018619695 |
| 1106 | 1105 | 2627.689426422596382870347 | 1.00190854549 |
| 1107 | 1106 | 2630.680178800652613053678 | 1.00195104008 |
| 1108 | 1107 | 2633.660530511746053110513 | 1.00198931244 |
| 1109 | 1108 | 2636.630126190990952657712 | 1.00202324147 |
| 1110 | 1109 | 2639.588662242246210391707 | 1.00205272628 |
| 1111 | 1110 | 2642.535887951475753624471 | 1.00207768646 |
| 1112 | 1111 | 2645.471606344161688778062 | 1.00209806235 |
| 1113 | 1112 | 2648.395674783399559211719 | 1.00211381506 |
| 1114 | 1113 | 2651.308005306575286117689 | 1.00212492658 |
| 1115 | 1114 | 2654.208564699802096652712 | 1.00213139965 |
| 1116 | 1115 | 2657.097374310576645587814 | 1.00213325755 |
| 1117 | 1116 | 2659.974509600390290597784 | 1.00213054388 |
| 1118 | 1117 | 2662.840099440297789728134 | 1.00212332215 |
| 1119 | 1118 | 2665.694325153695311504217 | 1.00211167532 |
| 1120 | 1119 | 2668.537419311786429568734 | 1.00209570522 |
| 1121 | 1120 | 2671.369664288412678215621 | 1.00207553196 |
| 1122 | 1121 | 2674.19139058208838381181 | 1.00205129313 |
| 1123 | 1122 | 2677.002974914202147652405 | 1.00202314307 |
| 1124 | 1123 | 2679.804838113424031076061 | 1.00199125191 |
| 1125 | 1124 | 2682.597442797382908751928 | 1.0019558047 |
| 1126 | 1125 | 2685.381290863647594397333 | 1.00191700033 |
| 1127 | 1126 | 2688.156920802953471449496 | 1.00187505048 |
| 1128 | 1127 | 2690.924904848459052630686 | 1.00183017849 |
| 1129 | 1128 | 2693.685845975590048586906 | 1.00178261816 |
| 1130 | 1129 | 2696.440374767728397164703 | 1.00173261258 |
| 1131 | 1130 | 2699.189146163626908850742 | 1.00168041282 |
| 1132 | 1131 | 2701.932836102973721607346 | 1.00162627666 |
| 1133 | 1132 | 2704.672138086992029419607 | 1.00157046729 |
| 1134 | 1133 | 2707.407759671337364122549 | 1.00151325198 |
| 1135 | 1134 | 2710.140418908845302132513 | 1.00145490074 |
| 1136 | 1135 | 2712.870840759885499591696 | 1.00139568496 |
| 1137 | 1136 | 2715.599753488192530976468 | 1.00133587612 |
| 1138 | 1137 | 2718.327885060069658276427 | 1.00127574442 |
| 1139 | 1138 | 2721.05595956479837433601 | 1.00121555749 |
| 1140 | 1139 | 2723.784693673934771650191 | 1.00115557911 |
| 1141 | 1140 | 2726.51479315693435408573 | 1.00109606791 |
| 1142 | 1141 | 2729.24694947022113681484 | 1.0010372762 |
| 1143 | 1142 | 2731.981836436406501481085 | 1.00097944874 |
| 1144 | 1143 | 2734.720107029870441775967 | 1.00092282163 |
| 1145 | 1144 | 2737.462390284345110928193 | 1.00086762123 |
| 1146 | 1145 | 2740.209288337490925033548 | 1.00081406309 |
| 1147 | 1146 | 2742.961373626732223812442 | 1.00076235105 |
| 1148 | 1147 | 2745.719186249826346696311 | 1.00071267627 |
| 1149 | 1148 | 2748.483231502780996112216 | 1.00066521645 |
| 1150 | 1149 | 2751.253977606814305601474 | 1.00062013505 |
| 1151 | 1150 | 2754.031853635074785215498 | 1.00057758062 |
| 1152 | 1151 | 2756.817247648809237268931 | 1.0005376862 |
| 1153 | 1152 | 2759.610505051591033393233 | 1.00050056879 |
| 1154 | 1153 | 2762.411927169104258727392 | 1.00046632895 |
| 1155 | 1154 | 2765.221770060826801888333 | 1.00043505043 |
| 1156 | 1155 | 2768.040243568773313717417 | 1.00040679993 |
| 1157 | 1156 | 2770.867510607253030915816 | 1.00038162691 |
| 1158 | 1157 | 2773.703686696373833473076 | 1.00035956356 |
| 1159 | 1158 | 2776.548839740788731434731 | 1.00034062473 |
| 1160 | 1159 | 2779.40299005394046364322 | 1.00032480811 |
| 1161 | 1160 | 2782.266110626820266552029 | 1.00031209439 |
| 1162 | 1161 | 2785.138127639024353136966 | 1.00030244749 |
| 1163 | 1162 | 2788.018921208672407422594 | 1.00029581497 |
| 1164 | 1163 | 2790.908326376552554446512 | 1.00029212847 |
| 1165 | 1164 | 2793.806134318682811438484 | 1.00029130416 |
| 1166 | 1165 | 2796.712093780335834028991 | 1.00029324341 |
| 1167 | 1166 | 2799.62591272346755012099 | 1.00029783342 |
| 1168 | 1167 | 2802.54726017842654211495 | 1.00030494796 |
| 1169 | 1168 | 2805.475768289805096139299 | 1.00031444815 |
| 1170 | 1169 | 2808.411034545329741245908 | 1.00032618336 |
| 1171 | 1170 | 2811.352624175783639185429 | 1.00033999209 |
| 1172 | 1171 | 2814.300072713109850095774 | 1.00035570296 |
| 1173 | 1172 | 2817.2528886930674692771 | 1.00037313568 |
| 1174 | 1173 | 2820.210556488105746809041 | 1.00039210216 |
| 1175 | 1174 | 2823.172539255488051186374 | 1.00041240755 |
| 1176 | 1175 | 2826.138281985141033681 | 1.00043385138 |
| 1177 | 1176 | 2829.107214631227316808069 | 1.00045622865 |
| 1178 | 1177 | 2832.078755311044791391791 | 1.00047933108 |
| 1179 | 1178 | 2835.05231355454407243107 | 1.00050294815 |
| 1180 | 1179 | 2838.027293587529321847674 | 1.00052686837 |
| 1181 | 1180 | 2841.003097631467554048217 | 1.00055088039 |
| 1182 | 1181 | 2843.97912920277832093249 | 1.0005747742 |
| 1183 | 1182 | 2846.954796394509511605442 | 1.00059834225 |
| 1184 | 1183 | 2849.9295151234256451352 | 1.00062138056 |
| 1185 | 1184 | 2852.902712325741791729123 | 1.00064368987 |
| 1186 | 1185 | 2855.873829085028004780195 | 1.0006650767 |
| 1187 | 1186 | 2858.842323676184331941327 | 1.00068535434 |
| 1188 | 1187 | 2861.80767450984312674855 | 1.00070434392 |
| 1189 | 1188 | 2864.76938296209112292033 | 1.0007218753 |
| 1190 | 1189 | 2867.726976075015783590648 | 1.00073778799 |
| 1191 | 1190 | 2870.680009114265636500675 | 1.000751932 |
| 1192 | 1191 | 2873.628067970569125576807 | 1.00076416859 |
| 1193 | 1192 | 2876.570771392977072138798 | 1.00077437104 |
| 1194 | 1193 | 2879.50777304247593840768 | 1.00078242528 |
| 1195 | 1194 | 2882.438763355558206925963 | 1.00078823046 |
| 1196 | 1195 | 2885.363471208327531411498 | 1.00079169947 |
| 1197 | 1196 | 2888.281665372754815693693 | 1.00079275938 |
| 1198 | 1197 | 2891.193155757781740347343 | 1.00079135181 |
| 1199 | 1198 | 2894.09779442908497517844 | 1.00078743316 |
| 1200 | 1199 | 2896.995476402461702459055 | 1.00078097489 |
| 1201 | 1200 | 2899.88614020696929097399 | 1.00077196356 |
| 1202 | 1201 | 2902.769768215143041785995 | 1.00076040092 |
| 1203 | 1202 | 2905.646386738819817502106 | 1.00074630383 |
| 1204 | 1203 | 2908.51606589030594970218 | 1.00072970417 |
| 1205 | 1204 | 2911.378919209838944490393 | 1.00071064862 |
| 1206 | 1205 | 2914.235103061498023697701 | 1.00068919837 |
| 1207 | 1206 | 2917.084815800912329351887 | 1.00066542879 |
| 1208 | 1207 | 2919.928296719291623122998 | 1.00063942896 |
| 1209 | 1208 | 2922.765824769456563762991 | 1.00061130118 |
| 1210 | 1209 | 2925.597717080668299084191 | 1.00058116043 |
| 1211 | 1210 | 2928.424327270144470960555 | 1.00054913367 |
| 1212 | 1211 | 2931.246043560195288253019 | 1.00051535919 |
| 1213 | 1212 | 2934.063286710913767139314 | 1.00047998579 |
| 1214 | 1213 | 2936.876507779303499079966 | 1.00044317205 |
| 1215 | 1214 | 2939.686185716620571439038 | 1.00040508536 |
| 1216 | 1215 | 2942.49282481653900653366 | 1.00036590112 |
| 1217 | 1216 | 2945.296952027517080400632 | 1.00032580167 |
| 1218 | 1217 | 2948.09911414344123973048 | 1.0002849754 |
| 1219 | 1218 | 2950.89987488725150880867 | 1.00024361569 |
| 1220 | 1219 | 2953.699811902804088031469 | 1.00020191984 |
| 1221 | 1220 | 2956.499513670700493276187 | 1.00016008808 |
| 1222 | 1221 | 2959.299576364205668366691 | 1.00011832241 |
| 1223 | 1222 | 2962.100600661688026062111 | 1.00007682558 |
| 1224 | 1223 | 2964.903188532240759142597 | 1.00003579995 |
| 1225 | 1224 | 2967.707940011284860702754 | 0.999995446451 |
| 1226 | 1225 | 2970.515449983009381624222 | 0.999955963482 |
| 1227 | 1226 | 2973.326304986473248450541 | 0.999917545853 |
| 1228 | 1227 | 2976.141080062075618175269 | 0.999880383743 |
| 1229 | 1228 | 2978.960335654898845251067 | 0.999844661687 |
| 1230 | 1229 | 2981.784614591140700791772 | 0.999810557585 |
| 1231 | 1230 | 2984.614439143481962596529 | 0.999778241752 |
| 1232 | 1231 | 2987.450308200783755897094 | 0.999747876011 |
| 1233 | 1232 | 2990.292694556978348350704 | 0.999719612825 |
| 1234 | 1233 | 2993.14204233341016816583 | 0.99969359448 |
| 1235 | 1234 | 2995.998764548203686948209 | 0.99966995233 |
| 1236 | 1235 | 2998.863240845484925273457 | 0.999648806086 |
| 1237 | 1236 | 3001.735815396467489034786 | 0.999630263178 |
| 1238 | 1237 | 3004.616794983536352655494 | 0.999614418174 |
| 1239 | 1238 | 3007.506447277527509408727 | 0.999601352275 |
| 1240 | 1239 | 3010.404999317413838888635 | 0.999591132869 |
| 1241 | 1240 | 3013.312636200572094307671 | 0.999583813169 |
| 1242 | 1241 | 3016.229499990728027448172 | 0.999579431915 |
| 1243 | 1242 | 3019.155688849561802627976 | 0.999578013161 |
| 1244 | 1243 | 3022.091256396809647523893 | 0.999579566132 |
| 1245 | 1244 | 3025.036211302525953031175 | 0.999584085161 |
| 1246 | 1245 | 3027.990517113978702537109 | 0.999591549706 |
| 1247 | 1246 | 3030.954092318446220315455 | 0.99960192444 |
| 1248 | 1247 | 3033.926810641970887332098 | 0.999615159423 |
| 1249 | 1248 | 3036.90850158291182883475 | 0.999631190346 |
| 1250 | 1249 | 3039.898951177929789088233 | 0.999649938856 |
| 1251 | 1250 | 3042.897902996839610076834 | 0.999671312946 |
| 1252 | 1251 | 3045.905059361585005746169 | 0.999695207425 |
| 1253 | 1252 | 3048.920082783432670828332 | 0.999721504451 |
| 1254 | 1253 | 3051.942597611354069292896 | 0.999750074131 |
| 1255 | 1254 | 3054.972191883469254507117 | 0.999780775187 |
| 1256 | 1255 | 3058.008419372373351538235 | 0.999813455679 |
| 1257 | 1256 | 3061.050801814158251608429 | 0.999847953782 |
| 1258 | 1257 | 3064.098831309984771991997 | 0.999884098622 |
| 1259 | 1258 | 3067.151972888158910686966 | 0.99992171115 |
| 1260 | 1259 | 3070.20966721382448495215 | 0.999960605067 |
| 1261 | 1260 | 3073.271333432607695809294 | 1.00000058778 |
| 1262 | 1261 | 3076.336372133840993180485 | 1.00004146141 |
| 1263 | 1262 | 3079.404168418357671368117 | 1.00008302379 |
| 1264 | 1263 | 3082.474095055288183117102 | 1.00012506952 |
| 1265 | 1264 | 3085.545515711807125022627 | 1.00016739105 |
| 1266 | 1265 | 3088.617788239378726761652 | 1.00020977971 |
| 1267 | 1266 | 3091.690267999730574643779 | 1.00025202685 |
| 1268 | 1267 | 3094.762311213551902559543 | 1.00029392487 |
| 1269 | 1268 | 3097.83327831476535129399 | 1.00033526833 |
| 1270 | 1269 | 3100.902537293160459053147 | 1.00037585498 |
| 1271 | 1270 | 3103.969467008203694169406 | 1.00041548689 |
| 1272 | 1271 | 3107.033460456953528937392 | 1.00045397139 |
| 1273 | 1272 | 3110.093927979209396405318 | 1.00049112215 |
| 1274 | 1273 | 3113.150300383309448334088 | 1.00052676009 |
| 1275 | 1274 | 3116.202031976362489069856 | 1.00056071439 |
| 1276 | 1275 | 3119.2486034831525179637 | 1.00059282332 |
| 1277 | 1276 | 3122.289524838487776703381 | 1.00062293514 |
| 1278 | 1277 | 3125.324337838377466062825 | 1.00065090889 |
| 1279 | 1278 | 3128.352618636105374604075 | 1.00067661512 |
| 1280 | 1279 | 3131.373980070027176986145 | 1.0006999366 |
| 1281 | 1280 | 3134.388073810743377382944 | 1.00072076892 |
| 1282 | 1281 | 3137.394592316188716690658 | 1.00073902111 |
| 1283 | 1282 | 3140.393270584126930537039 | 1.00075461608 |
| 1284 | 1283 | 3143.383887692542337515867 | 1.00076749106 |
| 1285 | 1284 | 3146.366268119471874982488 | 1.00077759796 |
| 1286 | 1285 | 3149.340282834917651877596 | 1.00078490366 |
| 1287 | 1286 | 3152.305850158615396478169 | 1.00078939019 |
| 1288 | 1287 | 3155.262936378602684369486 | 1.00079105485 |
| 1289 | 1288 | 3158.211556126726709760667 | 1.0007899103 |
| 1290 | 1289 | 3161.151772508448640899415 | 1.00078598448 |
| 1291 | 1290 | 3164.083696985534194869597 | 1.00077932052 |
| 1292 | 1291 | 3167.007489011461813678374 | 1.00076997657 |
| 1293 | 1292 | 3169.92335542062450638205 | 1.00075802551 |
| 1294 | 1293 | 3172.831549573642805192377 | 1.00074355465 |
| 1295 | 1294 | 3175.732370262338142379799 | 1.00072666526 |
| 1296 | 1295 | 3178.626160379132107032227 | 1.00070747213 |
| 1297 | 1296 | 3181.513305356831377329386 | 1.00068610303 |
| 1298 | 1297 | 3184.394231385924639851057 | 1.00066269803 |
| 1299 | 1298 | 3187.269403417650631448945 | 1.00063740887 |
| 1300 | 1299 | 3190.139322962189863706328 | 1.0006103982 |
| 1301 | 1300 | 3193.004525692381099381367 | 1.00058183875 |
| 1302 | 1301 | 3195.865578864361948620044 | 1.00055191252 |
| 1303 | 1302 | 3198.723078567475990616799 | 1.00052080986 |
| 1304 | 1303 | 3201.577646816671825997322 | 1.0004887285 |
| 1305 | 1304 | 3204.42992850143794444804 | 1.00045587261 |
| 1306 | 1305 | 3207.28058820606708727893 | 1.00042245172 |
| 1307 | 1306 | 3210.130306916721071227881 | 1.00038867972 |
| 1308 | 1307 | 3212.979778631368352027527 | 1.00035477376 |
| 1309 | 1308 | 3215.829706889188854287062 | 1.00032095316 |
| 1310 | 1309 | 3218.680801236481080056977 | 1.00028743828 |
| 1311 | 1310 | 3221.533773646462939438159 | 1.00025444947 |
| 1312 | 1311 | 3224.389334910628247265295 | 1.00022220585 |
| 1313 | 1312 | 3227.248191019503951433936 | 1.00019092428 |
| 1314 | 1313 | 3230.111039550747886216902 | 1.00016081821 |
| 1315 | 1314 | 3232.978566082532602771707 | 1.00013209661 |
| 1316 | 1315 | 3235.851440650077486413169 | 1.00010496285 |
| 1317 | 1316 | 3238.730314263019237054394 | 1.00007961372 |
| 1318 | 1317 | 3241.615815501050618646831 | 1.00005623833 |
| 1319 | 1318 | 3244.508547204910367311517 | 1.00003501718 |
| 1320 | 1319 | 3247.409083279374910981034 | 1.00001612122 |
| 1321 | 1320 | 3250.317965624387145735952 | 0.999999710901 |
| 1322 | 1321 | 3253.235701209861400748983 | 0.99998593536 |
| 1323 | 1322 | 3256.16275930902977307762 | 0.999974931615 |
| 1324 | 1323 | 3259.099568904446482740581 | 0.99996682382 |
| 1325 | 1324 | 3262.046516279947417869416 | 0.999961722587 |
| 1326 | 1325 | 3265.003942810975594687391 | 0.999959724368 |
| 1327 | 1326 | 3267.972142964734168574002 | 0.999960910913 |
| 1328 | 1327 | 3270.951362520621535633215 | 0.999965348787 |
| 1329 | 1328 | 3273.941797020342885369625 | 0.999973088968 |
| 1330 | 1329 | 3276.943590455984497566533 | 0.999984166516 |
| 1331 | 1330 | 3279.956834203186554736938 | 0.999998600318 |
| 1332 | 1331 | 3282.981566205362914365183 | 1.00001639292 |
| 1333 | 1332 | 3286.017770413697987671873 | 1.00003753042 |
| 1334 | 1333 | 3289.065376486407596313055 | 1.00006198245 |
| 1335 | 1334 | 3292.12425974948854544688 | 1.00008970226 |
| 1336 | 1335 | 3295.194241419906878477003 | 1.00012062683 |
| 1337 | 1336 | 3298.275089090893649501759 | 1.00015467711 |
| 1338 | 1337 | 3301.36651747773588334337 | 1.00019175831 |
| 1339 | 1338 | 3304.468189421175513202347 | 1.00023176028 |
| 1340 | 1339 | 3307.579717144266788197039 | 1.00027455794 |
| 1341 | 1340 | 3310.700663757299164270907 | 1.00032001184 |
| 1342 | 1341 | 3313.830545004174179402437 | 1.00036796873 |
| 1343 | 1342 | 3316.968831242437294665402 | 1.00041826218 |
| 1344 | 1343 | 3320.114949648015033142433 | 1.0004707134 |
| 1345 | 1344 | 3323.268286634599666208049 | 1.00052513191 |
| 1346 | 1345 | 3326.428190476563670686425 | 1.00058131648 |
| 1347 | 1346 | 3329.593974123279465170317 | 1.00063905596 |
| 1348 | 1347 | 3332.764918191771522434788 | 1.00069813025 |
| 1349 | 1348 | 3335.940274123742554377714 | 1.00075831127 |
| 1350 | 1349 | 3339.119267492197473735576 | 1.00081936403 |
| 1351 | 1350 | 3342.301101442142319012772 | 1.00088104761 |
| 1352 | 1351 | 3345.48496024916400001759 | 1.00094311635 |
| 1353 | 1352 | 3348.670012979103925341613 | 1.0010053209 |
| 1354 | 1353 | 3351.85541723152726743809 | 1.00106740935 |
| 1355 | 1354 | 3355.040322949262361449624 | 1.00112912842 |
| 1356 | 1355 | 3358.223876275943662067817 | 1.00119022461 |
| 1357 | 1356 | 3361.405223443238514902165 | 1.00125044531 |
| 1358 | 1357 | 3364.583514669274017895569 | 1.00130954002 |
| 1359 | 1358 | 3367.757908049706296998613 | 1.00136726145 |
| 1360 | 1359 | 3370.927573422890997054224 | 1.00142336669 |
| 1361 | 1360 | 3374.091696190720645761048 | 1.00147761831 |
| 1362 | 1361 | 3377.249481076891291632136 | 1.00152978542 |
| 1363 | 1362 | 3380.400155804646508237768 | 1.0015796448 |
| 1364 | 1363 | 3383.542974676420119749238 | 1.00162698186 |
| 1365 | 1364 | 3386.677222038258027538608 | 1.00167159166 |
| 1366 | 1365 | 3389.802215612442071546802 | 1.00171327986 |
| 1367 | 1366 | 3392.917309682362298108379 | 1.00175186357 |
| 1368 | 1367 | 3396.021898114385283390761 | 1.00178717226 |
| 1369 | 1368 | 3399.115417202241849787946 | 1.00181904847 |
| 1370 | 1369 | 3402.197348320303815445557 | 1.0018473486 |
| 1371 | 1370 | 3405.267220373032190052321 | 1.00187194351 |
| 1372 | 1371 | 3408.324612028854000637843 | 1.00189271916 |
| 1373 | 1372 | 3411.369153727756921113269 | 1.00190957712 |
| 1374 | 1373 | 3414.400529452975028326111 | 1.00192243501 |
| 1375 | 1374 | 3417.418478258269998100259 | 1.00193122689 |
| 1376 | 1375 | 3420.422795543484339061179 | 1.00193590356 |
| 1377 | 1376 | 3423.413334072251088805985 | 1.00193643278 |
| 1378 | 1377 | 3426.390004726981840314686 | 1.00193279942 |
| 1379 | 1378 | 3429.352776997515955275909 | 1.00192500553 |
| 1380 | 1379 | 3432.301679201092168890492 | 1.00191307032 |
| 1381 | 1380 | 3435.236798432593226861844 | 1.0018970301 |
| 1382 | 1381 | 3438.158280245308395372551 | 1.00187693806 |
| 1383 | 1382 | 3441.066328063751302458171 | 1.00185286408 |
| 1384 | 1383 | 3443.961202331355267227992 | 1.00182489438 |
| 1385 | 1384 | 3446.843219397138755480302 | 1.00179313113 |
| 1386 | 1385 | 3449.71275014668364195906 | 1.00175769198 |
| 1387 | 1386 | 3452.570218383992439078427 | 1.00171870953 |
| 1388 | 1387 | 3455.41609897198158072416 | 1.00167633073 |
| 1389 | 1388 | 3458.250915740520401735338 | 1.00163071621 |
| 1390 | 1389 | 3461.075239172033994398977 | 1.00158203953 |
| 1391 | 1390 | 3463.88968387574723766055 | 1.00153048643 |
| 1392 | 1391 | 3466.694905862651813829807 | 1.00147625395 |
| 1393 | 1392 | 3469.491599634223054110683 | 1.00141954958 |
| 1394 | 1393 | 3472.280495098794386964174 | 1.00136059031 |
| 1395 | 1394 | 3475.062354330309719383851 | 1.00129960162 |
| 1396 | 1395 | 3477.837968184914317609416 | 1.00123681654 |
| 1397 | 1396 | 3480.608152791509086760802 | 1.00117247455 |
| 1398 | 1397 | 3483.373745932978371269165 | 1.00110682052 |
| 1399 | 1398 | 3486.135603335304695284523 | 1.00104010366 |
| 1400 | 1399 | 3488.894594882202826275262 | 1.00097257636 |
| 1401 | 1400 | 3491.65160077323818575153 | 1.00090449313 |
| 1402 | 1401 | 3494.407507643639386212814 | 1.00083610941 |
| 1403 | 1402 | 3497.163204664170416193992 | 1.00076768054 |
| 1404 | 1403 | 3499.919579639494039597312 | 1.00069946057 |
| 1405 | 1404 | 3502.677515123434079262812 | 1.00063170116 |
| 1406 | 1405 | 3505.437884569430620829507 | 1.00056465055 |
| 1407 | 1406 | 3508.201548534279448002835 | 1.00049855245 |
| 1408 | 1407 | 3510.969350952956291313026 | 1.00043364496 |
| 1409 | 1408 | 3513.742115501949260958974 | 1.00037015966 |
| 1410 | 1409 | 3516.52064206806108892587 | 1.00030832052 |
| 1411 | 1410 | 3519.30570333909889178794 | 1.00024834305 |
| 1412 | 1411 | 3522.09804153224585403014 | 1.00019043336 |
| 1413 | 1412 | 3524.898365275209683948619 | 1.00013478733 |
| 1414 | 1413 | 3527.707346654470446925321 | 1.0000815898 |
| 1415 | 1414 | 3530.525618444109328131863 | 1.00003101387 |
| 1416 | 1415 | 3533.353771527794250258029 | 0.99998322018 |
| 1417 | 1416 | 3536.192352525532619938555 | 0.999938356311 |
| 1418 | 1417 | 3539.041861635780641118142 | 0.999896556227 |
| 1419 | 1418 | 3541.902750702427726028122 | 0.999857939785 |
| 1420 | 1419 | 3544.775421515058909963106 | 0.999822612317 |
| 1421 | 1420 | 3547.660224349743406891169 | 0.99979066428 |
| 1422 | 1421 | 3550.557456756409290521854 | 0.999762170978 |
| 1423 | 1422 | 3553.467362597648671572582 | 0.999737192351 |
| 1424 | 1423 | 3556.390131342560719174655 | 0.999715772847 |
| 1425 | 1424 | 3559.325897617987595755759 | 0.999697941359 |
| 1426 | 1425 | 3562.274741018237063276017 | 0.999683711234 |
| 1427 | 1426 | 3565.236686173121436118894 | 0.999673080363 |
| 1428 | 1427 | 3568.211703072881971549188 | 0.999666031333 |
| 1429 | 1428 | 3571.199707647316948062906 | 0.999662531653 |
| 1430 | 1429 | 3574.200562595196775977306 | 0.999662534053 |
| 1431 | 1430 | 3577.2140784588366184182 | 0.999665976843 |
| 1432 | 1431 | 3580.240014937512163607048 | 0.999672784341 |
| 1433 | 1432 | 3583.278082432253224367342 | 0.999682867366 |
| 1434 | 1433 | 3586.327943813438416524887 | 0.99969612378 |
| 1435 | 1434 | 3589.389216401547749803747 | 0.9997124391 |
| 1436 | 1435 | 3592.46147415041378818393 | 0.999731687158 |
| 1437 | 1436 | 3595.544250021351080610213 | 0.999753730803 |
| 1438 | 1437 | 3598.637038535642525721956 | 0.999778422664 |
| 1439 | 1438 | 3601.73929849202461011911 | 0.999805605943 |
| 1440 | 1439 | 3604.850455835045116972961 | 0.999835115251 |
| 1441 | 1440 | 3607.969906659470662994006 | 0.999866777475 |
| 1442 | 1441 | 3611.097020335300645069855 | 0.999900412679 |
| 1443 | 1442 | 3614.231142737401840666746 | 0.999935835022 |
| 1444 | 1443 | 3617.371599563316590317186 | 0.999972853705 |
| 1445 | 1444 | 3620.517699722419370117541 | 1.00001127392 |
| 1446 | 1445 | 3623.668738779303392432443 | 1.00005089783 |
| 1447 | 1446 | 3626.824002434071982141394 | 1.00009152552 |
| 1448 | 1447 | 3629.982770022089758515545 | 1.00013295599 |
| 1449 | 1448 | 3633.144318015716566315533 | 1.00017498813 |
| 1450 | 1449 | 3636.307923510602661504518 | 1.00021742165 |
| 1451 | 1450 | 3639.472867679266445265357 | 1.00026005804 |
| 1452 | 1451 | 3642.638439174905196057145 | 1.00030270151 |
| 1453 | 1452 | 3645.803937468703482187986 | 1.0003451599 |
| 1454 | 1453 | 3648.968676104301530223608 | 1.0003872455 |
| 1455 | 1454 | 3652.131985853564644270105 | 1.00042877598 |
| 1456 | 1455 | 3655.293217758352278898281 | 1.00046957514 |
| 1457 | 1456 | 3658.451746043618632729415 | 1.00050947369 |
| 1458 | 1457 | 3661.60697088788234134911 | 1.00054831002 |
| 1459 | 1458 | 3664.758321037877337354261 | 1.00058593084 |
| 1460 | 1459 | 3667.905256255036199958926 | 1.00062219179 |
| 1461 | 1460 | 3671.047269582357002948607 | 1.00065695812 |
| 1462 | 1461 | 3674.183889421160154389526 | 1.0006901051 |
| 1463 | 1462 | 3677.314681408248094605019 | 1.00072151857 |
| 1464 | 1463 | 3680.439250085032819335122 | 1.00075109532 |
| 1465 | 1464 | 3683.557240351288636184769 | 1.00077874343 |
| 1466 | 1465 | 3686.668338697314759826114 | 1.00080438259 |
| 1467 | 1466 | 3689.77227420944855044034 | 1.00082794429 |
| 1468 | 1467 | 3692.86881934504950520265 | 1.00084937203 |
| 1469 | 1468 | 3695.957790474270517762031 | 1.00086862135 |
| 1470 | 1469 | 3699.039048187140338356491 | 1.00088565992 |
| 1471 | 1470 | 3702.112497365693460010109 | 1.0009004675 |
| 1472 | 1471 | 3705.178087022094667542775 | 1.00091303581 |
| 1473 | 1472 | 3708.235809904909071044773 | 1.00092336844 |
| 1474 | 1473 | 3711.285701876858501918126 | 1.00093148056 |
| 1475 | 1474 | 3714.327841068575648903097 | 1.00093739872 |
| 1476 | 1475 | 3717.362346814012328809573 | 1.00094116044 |
| 1477 | 1476 | 3720.389378374272030658643 | 1.0009428139 |
| 1478 | 1477 | 3723.409133457713714010952 | 1.00094241743 |
| 1479 | 1478 | 3726.421846545208344812149 | 1.00094003906 |
| 1480 | 1479 | 3729.427787030416595838773 | 1.00093575598 |
| 1481 | 1480 | 3732.427257185890549035924 | 1.00092965393 |
| 1482 | 1481 | 3735.420589966679408477194 | 1.00092182662 |
| 1483 | 1482 | 3738.408146663934753263392 | 1.00091237501 |
| 1484 | 1483 | 3741.390314421760632603683 | 1.00090140668 |
| 1485 | 1484 | 3744.367503631234069610059 | 1.00088903506 |
| 1486 | 1485 | 3747.340145216128889680435 | 1.00087537872 |
| 1487 | 1486 | 3750.308687825407189185118 | 1.00086056055 |
| 1488 | 1487 | 3753.273594947995562874287 | 1.00084470703 |
| 1489 | 1488 | 3756.235341965735166528162 | 1.00082794738 |
| 1490 | 1489 | 3759.194413160683968806144 | 1.00081041277 |
| 1491 | 1490 | 3762.151298693154727487007 | 1.00079223555 |
| 1492 | 1491 | 3765.106491566992322372767 | 1.00077354836 |
| 1493 | 1492 | 3768.060484598628534547897 | 1.00075448338 |
| 1494 | 1493 | 3771.013767406401059087877 | 1.00073517152 |
| 1495 | 1494 | 3773.966823436486791000563 | 1.00071574163 |
| 1496 | 1495 | 3776.920127041577981439979 | 1.00069631974 |
| 1497 | 1496 | 3779.874140628124902439544 | 1.0006770283 |
| 1498 | 1497 | 3782.829311887581787026487 | 1.00065798551 |
| 1499 | 1498 | 3785.786071126626046958431 | 1.00063930455 |
| 1500 | 1499 | 3788.744828710776537462429 | 1.00062109301 |
| 1501 | 1500 | 3791.705972635217755584493 | 1.00060345222 |
E-011-li-coefficients-arithmetic.json
— 1.3 KB, updated 08-18-2026
JSON sidecar (click to expand)
{
"experiment": "E-011",
"task": "3.2 continuation: Li coefficients from arithmetic side",
"description": "Bombieri-Lagarias Theorem 2 (eta-form): lambda_n from Stieltjes constants (parallel mpmath sweep, series division) + Arb zeta values; zero-free",
"script": "research/numerics/scripts/E-011-li-coefficients-arithmetic.py",
"parameters": {
"n_max": 2000,
"dps": 1000,
"arb_bits": 3530
},
"checks": {
"V1_lambda1_exact": true,
"V2_matches_E008_zero_side": true,
"V3_all_positive": true,
"V5_precision_self_consistent": true
},
"key_values": {
"lambda_1": "0.0230957089661210338143102479065",
"lambda_10": "2.27933936319316",
"lambda_100": "118.603775376791",
"lambda_1000": "2326.05316168647",
"lambda_n_max": "5351.7595383815",
"asymptotic_ratio_at_n_max": "1.0021569",
"self_consistency_rel_dev": "6.67e-705"
},
"caveats": [
"mpmath 1.3 + Python 3.14: mp.zeta broken beyond ~16 digits; zeta values via flint.arb; mp.zetazero unaffected",
"mpmath arithmetic is not interval-rigorous; certification rests on self-consistency + E-008 cross-checks; an Arb ball-arithmetic upgrade would make this fully rigorous"
],
"elapsed_seconds": 1072.5,
"timestamp_utc": "2026-08-18T07:09:38.361237+00:00",
"row_count": 2000
}
Source code
Python script (click to expand)
"""E-011 — Task 3.2 continuation: Li coefficients from the ARITHMETIC side.
Bombieri–Lagarias Theorem 2 (J. Number Theory 77 (1999) 274-287), with the
eta-sum written via the Laurent coefficients of -zeta'/zeta at s=1:
-zeta'/zeta(s+1) = 1/s + sum_{k>=0} eta_k s^k,
eta_k = (-1)^k/k! lim_{x->inf} { sum_{m<=x} Lambda(m)(log m)^k/m
- (log x)^{k+1}/(k+1) },
lambda_n = 1 - sum_{j=1}^n C(n,j) eta_{j-1}
- (log 4pi + gamma_E) n/2
- sum_{j=2}^n (-1)^{j-1} C(n,j) (1 - 2^{-j}) zeta(j).
(The (-1)^{j-1} in the theorem's eta-sum cancels the (-1)^{j-1} inside
the eta definition, leaving -sum C(n,j) eta_{j-1}. Verified numerically
against E-008 zero-side values for n <= 116 and against the machine-
validated explicit-formula conventions of D-001 NT-1.)
eta_k come from the Stieltjes constants gamma_m by series division:
D(u) = u*zeta(1+u) = 1 + sum_{m>=0} (-1)^m gamma_m/m! u^{m+1},
N(u) = -u^2*zeta'(1+u) = 1 - sum_{m>=1} (-1)^m gamma_m/(m-1)! u^{m+1},
-zeta'/zeta(1+u) = (1/u) N(u)/D(u) => eta_k = [u^{k+1}] N/D.
ENVIRONMENT CAVEAT (session 003 finding): mpmath 1.3 on Python 3.14
returns WRONG zeta values (integer AND non-integer) beyond ~16-19
digits. mp.zetazero is unaffected (Riemann-Siegel path; E-002 table
safe). All zeta(j) here come from flint.arb (ball arithmetic).
Stieltjes constants via flint.acb.stieltjes (rigorous Arb balls);
mpmath used only for series arithmetic (mp.mp.dps setter — bare mp.dps is broken in this env).
Precision budget: zeta-sum cancellation ~2^n (0.301n digits), eta-sum
~(4/3)^n (0.125n digits); dps = ceil(0.45 n_max) + 100.
Validations:
V1. lambda_1 = 0.02309570896612103381... (28-digit match)
V2. n <= 116: |lambda_n - E-008 zero-side| < max(2*tail_bound, 2% rel)
V3. all lambda_n > 0
V4. refined asymptotic ratio lambda_n / [(n/2)(log n - log 2pi + gamma - 1)]
-> 1 (Arias de Reyna; logged, not a hard check)
V5. self-consistency: lambda_n at sample n recomputed at 1.4x dps agree
Outputs: research/numerics/data/E-011-li-coefficients-arithmetic.csv (+ .json)
"""
import json
import sys
import time
from datetime import datetime, timezone
from multiprocessing import Pool
from pathlib import Path
import numpy as np
import mpmath as mp
import flint
REPO = Path(__file__).resolve().parents[3]
DATA = REPO / "research" / "numerics" / "data"
E008_CSV = DATA / "E-008-li-coefficients.csv"
CSV = DATA / "E-011-li-coefficients-arithmetic.csv"
JSON = DATA / "E-011-li-coefficients-arithmetic.json"
N_MAX = 1000
LAMBDA1_KNOWN = ("0.02309570896612103381431024790649529162193212715205"
"075952539207221297135647672457997079856951170983336")
# ^ corrected session 004: previous string diverged from the true value
# 1 + gamma/2 - log(4pi)/2 at digit 22 (flint-verified to 100 digits).
def _stieltjes_worker(args):
k, bits, digits = args
import flint
flint.ctx.prec = bits
return k, flint.acb.stieltjes(k).real.str(digits, radius=False)
def stieltjes_sweep(k_max: int, dps: int) -> list:
"""gamma_0..gamma_{k_max} via Arb (flint.acb.stieltjes, rigorous
balls), parallel over k."""
bits = int(np.ceil(dps * 3.33)) + 200
with Pool(14) as pool:
out = pool.map(_stieltjes_worker,
[(k, bits, dps + 10) for k in range(k_max + 1)],
chunksize=4)
out.sort()
return [mp.mpf(v) for _, v in out]
def eta_from_stieltjes(gam, n_max):
N_ = [mp.mpf(0)] * (n_max + 2)
D_ = [mp.mpf(0)] * (n_max + 2)
N_[0] = D_[0] = 1
for m in range(0, n_max + 1):
D_[m + 1] = (-1) ** m * gam[m] / mp.factorial(m)
for m in range(1, n_max + 1):
N_[m + 1] = -(-1) ** m * gam[m] / mp.factorial(m - 1)
E = [mp.mpf(0)] * (n_max + 2)
for k in range(0, n_max + 2):
s = N_[k]
for i in range(1, k + 1):
s -= D_[i] * E[k - i]
E[k] = s
return [E[k + 1] for k in range(n_max + 1)]
def arb_zetas(n_max):
return [mp.mpf(0), mp.mpf(0)] + [
mp.mpf(flint.arb(j).zeta().str(mp.mp.dps + 10, radius=False))
for j in range(2, n_max + 1)]
def li_lambda(n, eta, w, c2):
s = mp.mpf(1) - c2 * n
b = 1
for j in range(1, n + 1):
b = b * (n - j + 1) // j # exact integer C(n, j)
s -= b * eta[j - 1]
if j >= 2:
s -= ((-1) ** (j - 1)) * b * w[j]
return s
def main() -> int:
n_max = N_MAX
if "--n-max" in sys.argv:
n_max = int(sys.argv[sys.argv.index("--n-max") + 1])
if CSV.exists() and "--force" not in sys.argv:
print(f"cached: {CSV} exists (use --force to recompute)"); return 0
t0 = time.time()
dps = int(np.ceil(0.45 * n_max)) + 100
mp.mp.dps = dps
flint.ctx.prec = int(np.ceil(dps * 3.33)) + 200
print(f"n_max={n_max}, dps={dps}, arb bits={flint.ctx.prec}",
flush=True)
t1 = time.time()
gam = stieltjes_sweep(n_max, dps)
print(f"stieltjes 0..{n_max}: {time.time()-t1:.0f}s", flush=True)
t1 = time.time()
eta = eta_from_stieltjes(gam, n_max)
print(f"eta recursion: {time.time()-t1:.0f}s eta_0={mp.nstr(eta[0], 12)}"
f" eta_1={mp.nstr(eta[1], 12)}", flush=True)
t1 = time.time()
zeta = arb_zetas(n_max)
print(f"arb zeta values: {time.time()-t1:.0f}s", flush=True)
t1 = time.time()
c2 = (mp.log(4 * mp.pi) + mp.euler) / 2
w = [mp.mpf(0), mp.mpf(0)] + [(1 - mp.mpf(2) ** (-j)) * zeta[j]
for j in range(2, n_max + 1)]
lam = [mp.mpf(0)] + [li_lambda(n, eta, w, c2)
for n in range(1, n_max + 1)]
print(f"lambda sums: {time.time()-t1:.0f}s", flush=True)
# ---- V5: self-consistency at higher precision, reduced range
t1 = time.time()
k_half = n_max // 2
dps2 = int(dps * 1.4)
mp.mp.dps = dps2
flint.ctx.prec = int(np.ceil(dps2 * 3.33)) + 200
gam2 = stieltjes_sweep(k_half, dps2)
eta2 = eta_from_stieltjes(gam2, k_half)
zeta2 = arb_zetas(k_half)
c2b = (mp.log(4 * mp.pi) + mp.euler) / 2
w2 = [mp.mpf(0), mp.mpf(0)] + [(1 - mp.mpf(2) ** (-j)) * zeta2[j]
for j in range(2, k_half + 1)]
sample = sorted({1, 2, 100, k_half})
lam2 = {n: li_lambda(n, eta2, w2, c2b) for n in sample}
mp.mp.dps = dps
rel_dev = max(abs(lam2[n] - lam[n]) / abs(lam[n]) for n in sample)
check_v5 = bool(rel_dev < mp.mpf(10) ** (-0.30 * k_half))
print(f"self-consistency (n<={k_half} @1.4x dps): rel dev "
f"{mp.nstr(rel_dev, 3)} ({time.time()-t1:.0f}s)", flush=True)
# ---- validations
lam1_err = abs(lam[1] - mp.mpf(LAMBDA1_KNOWN))
check_v1 = bool(lam1_err < mp.mpf("1e-28"))
zs = {}
with E008_CSV.open() as f:
f.readline()
for line in f:
p = line.split(",")
zs[int(p[0])] = (float(p[1]), float(p[2]))
worst = 0.0
for n in range(1, 117):
z, tb = zs[n]
dev = abs(float(lam[n]) - z)
worst = max(worst, dev / max(2 * tb, 0.02 * abs(z)))
check_v2 = bool(worst < 1.0)
check_v3 = bool(all(lam[n] > 0 for n in range(1, n_max + 1)))
def lead(n):
return (n / 2) * (mp.log(n) - mp.log(2 * mp.pi) + mp.euler - 1)
ratio_last = lam[n_max] / lead(n_max)
checks = {
"V1_lambda1_exact": check_v1,
"V2_matches_E008_zero_side": check_v2,
"V3_all_positive": check_v3,
"V5_precision_self_consistent": check_v5,
}
print(f"lambda_1 err: {mp.nstr(lam1_err, 3)}; E-008 worst dev ratio: "
f"{worst:.3f}; lambda_{n_max} = {mp.nstr(lam[n_max], 8)}; "
f"asymptotic ratio: {mp.nstr(ratio_last, 6)}", flush=True)
DATA.mkdir(parents=True, exist_ok=True)
with CSV.open("w", encoding="utf-8", newline="") as f:
f.write("n,lambda_n,lambda_over_refined_asymptotic\n")
for n in range(1, n_max + 1):
f.write(f"{n},{mp.nstr(lam[n], 25)},"
f"{mp.nstr(lam[n] / lead(n), 12)}\n")
meta = {
"experiment": "E-011",
"task": "3.2 continuation: Li coefficients from arithmetic side",
"description": "Bombieri-Lagarias Theorem 2 (eta-form): lambda_n "
"from Stieltjes constants (parallel mpmath sweep, "
"series division) + Arb zeta values; zero-free",
"script": "research/numerics/scripts/E-011-li-coefficients-arithmetic.py",
"parameters": {"n_max": n_max, "dps": dps,
"arb_bits": int(np.ceil(dps * 3.33)) + 200},
"checks": checks,
"key_values": {
"lambda_1": mp.nstr(lam[1], 30),
"lambda_10": mp.nstr(lam[10], 15),
"lambda_100": mp.nstr(lam[100], 15),
"lambda_1000": mp.nstr(lam[1000], 15) if n_max >= 1000 else None,
"lambda_n_max": mp.nstr(lam[n_max], 15),
"asymptotic_ratio_at_n_max": mp.nstr(ratio_last, 8),
"self_consistency_rel_dev": mp.nstr(rel_dev, 3),
},
"caveats": [
"mpmath 1.3 + Python 3.14: mp.zeta broken beyond ~16 digits; "
"zeta values via flint.arb; mp.zetazero unaffected",
"mpmath arithmetic is not interval-rigorous; certification "
"rests on self-consistency + E-008 cross-checks; an Arb "
"ball-arithmetic upgrade would make this fully rigorous",
],
"elapsed_seconds": round(time.time() - t0, 1),
"timestamp_utc": datetime.now(timezone.utc).isoformat(),
"row_count": n_max,
}
JSON.write_text(json.dumps(meta, indent=2), encoding="utf-8")
ok = all(checks.values())
print(f"wrote {CSV.name}, {JSON.name} — "
f"{'ALL CHECKS PASS' if ok else 'CHECK FAILURE: ' + str(checks)}")
return 0 if ok else 1
if __name__ == "__main__":
raise SystemExit(main())