E-015-li-coefficients-n3000.py
Experiments: E-015 · script updated 08-18-2026
E-015-li-coefficients-n3000.csv
— 133.8 KB, updated 08-18-2026
| # | n | lambda_n | lambda_over_refined_asymptotic |
|---|---|---|---|
| 2002 | 2001 | 5354.864296826490485401957 | 1.00214338606 |
| 2003 | 2002 | 5357.955820526647266271265 | 1.00212734454 |
| 2004 | 2003 | 5361.034225096522869388938 | 1.00210882297 |
| 2005 | 2004 | 5364.099674363425166214483 | 1.00208785638 |
| 2006 | 2005 | 5367.152379685937222151826 | 1.0020644886 |
| 2007 | 2006 | 5370.192599039876669310523 | 1.00203877206 |
| 2008 | 2007 | 5373.22063587654117761069 | 1.00201076753 |
| 2009 | 2008 | 5376.236837759235718352695 | 1.00198054389 |
| 2010 | 2009 | 5379.241594785198585494873 | 1.00194817775 |
| 2011 | 2010 | 5382.23533780112739372212 | 1.00191375314 |
| 2012 | 2011 | 5385.218536421548042917121 | 1.0018773611 |
| 2013 | 2012 | 5388.191696860263676575251 | 1.00183909925 |
| 2014 | 2013 | 5391.155359586061960834377 | 1.00179907138 |
| 2015 | 2014 | 5394.110096814742833136009 | 1.00175738688 |
| 2016 | 2015 | 5397.056509850350769093569 | 1.00171416034 |
| 2017 | 2016 | 5399.995226289251461200432 | 1.00166951091 |
| 2018 | 2017 | 5402.926897101378796849637 | 1.00162356181 |
| 2019 | 2018 | 5405.852193603590723073827 | 1.00157643975 |
| 2020 | 2019 | 5408.771804340608920041371 | 1.00152827432 |
| 2021 | 2020 | 5411.686431889474489912384 | 1.00147919741 |
| 2022 | 2021 | 5414.596789603827817506376 | 1.00142934258 |
| 2023 | 2022 | 5417.503598314613501212176 | 1.00137884447 |
| 2024 | 2023 | 5420.407583004019334392866 | 1.00132783819 |
| 2025 | 2024 | 5423.309469469580715012626 | 1.00127645864 |
| 2026 | 2025 | 5426.209980995417983325819 | 1.00122483997 |
| 2027 | 2026 | 5429.109835047523879291525 | 1.00117311494 |
| 2028 | 2027 | 5432.00974000988185477387 | 1.00112141432 |
| 2029 | 2028 | 5434.91039197797408773626 | 1.00106986631 |
| 2030 | 2029 | 5437.812471625931875351868 | 1.00101859598 |
| 2031 | 2030 | 5440.716641163192204848273 | 1.00096772469 |
| 2032 | 2031 | 5443.62354139605470741345 | 1.00091736961 |
| 2033 | 2032 | 5446.533788908985291782707 | 1.00086764317 |
| 2034 | 2033 | 5449.447973379889325978077 | 1.00081865258 |
| 2035 | 2034 | 5452.366655042881465348141 | 1.00077049943 |
| 2036 | 2035 | 5455.290362311314655275794 | 1.0007232792 |
| 2037 | 2036 | 5458.219589573001357983831 | 1.00067708093 |
| 2038 | 2037 | 5461.154795168669883035302 | 1.00063198685 |
| 2039 | 2038 | 5464.096399563752365353884 | 1.00058807205 |
| 2040 | 2039 | 5467.044783722603241720675 | 1.00054540423 |
| 2041 | 2040 | 5470.00028769320309522843 | 1.00050404342 |
| 2042 | 2041 | 5472.963209409317769689288 | 1.00046404185 |
| 2043 | 2042 | 5475.933803715962212481616 | 1.00042544373 |
| 2044 | 2043 | 5478.912281622868274394039 | 1.00038828517 |
| 2045 | 2044 | 5481.89880978948151924563 | 1.0003525941 |
| 2046 | 2045 | 5484.893510243819936526604 | 1.00031839025 |
| 2047 | 2046 | 5487.896460336323360600428 | 1.00028568516 |
| 2048 | 2047 | 5490.907692928612494712613 | 1.00025448223 |
| 2049 | 2048 | 5493.927196815866861919663 | 1.00022477685 |
| 2050 | 2049 | 5496.954917380327902055857 | 1.00019655649 |
| 2051 | 2050 | 5499.990757472242916220987 | 1.00016980095 |
| 2052 | 2051 | 5503.03457851339367767135 | 1.0001444825 |
| 2053 | 2052 | 5506.086201817206237054649 | 1.00012056625 |
| 2054 | 2053 | 5509.145410118321584194887 | 1.00009801032 |
| 2055 | 2054 | 5512.211949303426069161419 | 1.0000767663 |
| 2056 | 2055 | 5515.285530334101332058019 | 1.00005677952 |
| 2057 | 2056 | 5518.365831351461234863807 | 1.0000379895 |
| 2058 | 2057 | 5521.452499951402985179254 | 1.00002033037 |
| 2059 | 2058 | 5524.545155618416085198712 | 1.00000373133 |
| 2060 | 2059 | 5527.643392305070438647242 | 0.999988117098 |
| 2061 | 2060 | 5530.746781143548104682669 | 0.999973408468 |
| 2062 | 2061 | 5533.854873274895672433807 | 0.999959522789 |
| 2063 | 2062 | 5536.967202781059565557134 | 0.999946374521 |
| 2064 | 2063 | 5540.083289704227928820122 | 0.999933875787 |
| 2065 | 2064 | 5543.202643137542871374233 | 0.999921936937 |
| 2066 | 2065 | 5546.324764370868120342751 | 0.99991046712 |
| 2067 | 2066 | 5549.449150075001540973993 | 0.999899374861 |
| 2068 | 2067 | 5552.575295507511054297369 | 0.999888568641 |
| 2069 | 2068 | 5555.702697723247351476546 | 0.999877957473 |
| 2070 | 2069 | 5558.830858772548154708598 | 0.999867451477 |
| 2071 | 2070 | 5561.959288870196860100074 | 0.999856962449 |
| 2072 | 2071 | 5565.087509518333033263321 | 0.999846404412 |
| 2073 | 2072 | 5568.215056566732791265992 | 0.999835694165 |
| 2074 | 2073 | 5571.341483194182538887987 | 0.999824751804 |
| 2075 | 2074 | 5574.466362795058347900831 | 0.999813501235 |
| 2076 | 2075 | 5577.589291755693568743678 | 0.999801870662 |
| 2077 | 2076 | 5580.709892105666725856912 | 0.999789793042 |
| 2078 | 2077 | 5583.827814029767651736351 | 0.99977720653 |
| 2079 | 2078 | 5586.942738227099054039225 | 0.999764054882 |
| 2080 | 2079 | 5590.054378104539806672307 | 0.999750287833 |
| 2081 | 2080 | 5593.162481792631377223308 | 0.999735861436 |
| 2082 | 2081 | 5596.266833972845781600196 | 0.999720738376 |
| 2083 | 2082 | 5599.367257506147810095512 | 0.999704888242 |
| 2084 | 2083 | 5602.46361485377122298274 | 0.999688287754 |
| 2085 | 2084 | 5605.55580928218312563265 | 0.999670920965 |
| 2086 | 2085 | 5608.643785845307517431335 | 0.999652779412 |
| 2087 | 2086 | 5611.727532138212563312695 | 0.999633862229 |
| 2088 | 2087 | 5614.807078817630770240396 | 0.999614176218 |
| 2089 | 2088 | 5617.882499885871111658449 | 0.999593735881 |
| 2090 | 2089 | 5620.953912735891247663887 | 0.999572563399 |
| 2091 | 2090 | 5624.021477956520253016652 | 0.999550688583 |
| 2092 | 2091 | 5627.085398898051533845862 | 0.999528148773 |
| 2093 | 2092 | 5630.145920999655691827412 | 0.999504988693 |
| 2094 | 2093 | 5633.203330881287777586717 | 0.999481260274 |
| 2095 | 2094 | 5636.257955203976481239981 | 0.999457022432 |
| 2096 | 2095 | 5639.310159303578208696919 | 0.999432340802 |
| 2097 | 2096 | 5642.360345604250642998176 | 0.999407287438 |
| 2098 | 2097 | 5645.408951819042360325713 | 0.999381940482 |
| 2099 | 2098 | 5648.456448946101574361644 | 0.999356383786 |
| 2100 | 2099 | 5651.503339070072507611656 | 0.99933070651 |
| 2101 | 2100 | 5654.550152979266822892169 | 0.999305002686 |
| 2102 | 2101 | 5657.59744761016480988927 | 0.999279370751 |
| 2103 | 2102 | 5660.645803331711682862024 | 0.999253913058 |
| 2104 | 2103 | 5663.695821082723758197011 | 0.999228735357 |
| 2105 | 2104 | 5666.748119376503099769783 | 0.999203946258 |
| 2106 | 2105 | 5669.803331187473426148894 | 0.999179656676 |
| 2107 | 2106 | 5672.862100735290992199169 | 0.999155979257 |
| 2108 | 2107 | 5675.925080182448478209307 | 0.99913302779 |
| 2109 | 2108 | 5678.992926261874712676725 | 0.999110916613 |
| 2110 | 2109 | 5682.066296851435786398935 | 0.999089760008 |
| 2111 | 2110 | 5685.145847512561660210944 | 0.999069671592 |
| 2112 | 2111 | 5688.232228010455020714308 | 0.999050763711 |
| 2113 | 2112 | 5691.326078833484620072458 | 0.999033146826 |
| 2114 | 2113 | 5694.428027729422804721027 | 0.999016928919 |
| 2115 | 2114 | 5697.538686276155990377544 | 0.999002214892 |
| 2116 | 2115 | 5700.658646504377515427784 | 0.998989105985 |
| 2117 | 2116 | 5703.788477589565081769382 | 0.998977699211 |
| 2118 | 2117 | 5706.92872263025079128833 | 0.998968086797 |
| 2119 | 2118 | 5710.079895529211962414269 | 0.998960355658 |
| 2120 | 2119 | 5713.242477993747248528024 | 0.998954586884 |
| 2121 | 2120 | 5716.416916670657282413395 | 0.998950855256 |
| 2122 | 2121 | 5719.603620430924751890277 | 0.998949228791 |
| 2123 | 2122 | 5722.802957818388481276693 | 0.998949768311 |
| 2124 | 2123 | 5726.015254675933143262063 | 0.998952527057 |
| 2125 | 2124 | 5729.24079196187441311494 | 0.998957550319 |
| 2126 | 2125 | 5732.479803768312805475675 | 0.998964875123 |
| 2127 | 2126 | 5735.732475552262533212798 | 0.998974529939 |
| 2128 | 2127 | 5738.998942589339232301655 | 0.998986534437 |
| 2129 | 2128 | 5742.279288658717321772791 | 0.999000899286 |
| 2130 | 2129 | 5745.573544966949385002747 | 0.999017625987 |
| 2131 | 2130 | 5748.881689317081769550607 | 0.99903670676 |
| 2132 | 2131 | 5752.203645528308311707698 | 0.999058124462 |
| 2133 | 2132 | 5755.539283110183577705631 | 0.999081852562 |
| 2134 | 2133 | 5758.888417194174300165856 | 0.999107855153 |
| 2135 | 2134 | 5762.250808724068915262482 | 0.999136087012 |
| 2136 | 2135 | 5765.626164905496497435794 | 0.999166493702 |
| 2137 | 2136 | 5769.014139913534222456457 | 0.999199011723 |
| 2138 | 2137 | 5772.414335856113066991222 | 0.999233568699 |
| 2139 | 2138 | 5775.826303989671065675976 | 0.999270083621 |
| 2140 | 2139 | 5779.249546182258347187545 | 0.999308467114 |
| 2141 | 2140 | 5782.6835166180745399325 | 0.999348621764 |
| 2142 | 2141 | 5786.127623736223054851336 | 0.999390442467 |
| 2143 | 2142 | 5789.58123239530416439829 | 0.999433816833 |
| 2144 | 2143 | 5793.04366625434548810787 | 0.999478625606 |
| 2145 | 2144 | 5796.514210359490060744107 | 0.999524743141 |
| 2146 | 2145 | 5799.99211392483397472963 | 0.99957203789 |
| 2147 | 2146 | 5803.476593294832784866748 | 0.999620372937 |
| 2148 | 2147 | 5806.966835074783299796639 | 0.999669606546 |
| 2149 | 2148 | 5810.461999415039625441484 | 0.999719592742 |
| 2150 | 2149 | 5813.961223433843617019641 | 0.999770181913 |
| 2151 | 2150 | 5817.463624762944145006194 | 0.999821221426 |
| 2152 | 2151 | 5820.968305199550334683528 | 0.999872556264 |
| 2153 | 2152 | 5824.474354447614370139883 | 0.999924029675 |
| 2154 | 2153 | 5827.980853930972340680694 | 0.999975483832 |
| 2155 | 2154 | 5831.486880660489323124441 | 1.0000267605 |
| 2156 | 2155 | 5834.991511137059391493425 | 1.0000777017 |
| 2157 | 2156 | 5838.493825272104052086014 | 1.00012815039 |
| 2158 | 2157 | 5841.992910307094806787076 | 1.00017795112 |
| 2159 | 2158 | 5845.487864713597799188088 | 1.00022695071 |
| 2160 | 2159 | 5848.977802055401000229743 | 1.0002749989 |
| 2161 | 2160 | 5852.461854794436900210273 | 1.00032194898 |
| 2162 | 2161 | 5855.939178022455504731655 | 1.00036765843 |
| 2163 | 2162 | 5859.408953100732454418609 | 1.00041198954 |
| 2164 | 2163 | 5862.870391190513736778705 | 1.00045480998 |
| 2165 | 2164 | 5866.322736657399739558788 | 1.00049599336 |
| 2166 | 2165 | 5869.765270333454895798803 | 1.00053541979 |
| 2167 | 2166 | 5873.197312621492071976757 | 1.00057297641 |
| 2168 | 2167 | 5876.618226426719939631744 | 1.0006085578 |
| 2169 | 2168 | 5880.027419901753257904873 | 1.0006420665 |
| 2170 | 2169 | 5883.424348991866330331079 | 1.00067341338 |
| 2171 | 2170 | 5886.808519768314594754402 | 1.00070251804 |
| 2172 | 2171 | 5890.179490538553752453903 | 1.00072930912 |
| 2173 | 2172 | 5893.536873723245137489701 | 1.0007537246 |
| 2174 | 2173 | 5896.880337491044994201643 | 1.00077571207 |
| 2175 | 2174 | 5900.209607143328547877109 | 1.00079522891 |
| 2176 | 2175 | 5903.524466242191579709841 | 1.00081224249 |
| 2177 | 2176 | 5906.824757476296819782701 | 1.00082673025 |
| 2178 | 2177 | 5910.110383260383855908054 | 1.00083867981 |
| 2179 | 2178 | 5913.381306065533293919069 | 1.00084808896 |
| 2180 | 2179 | 5916.637548478562366123072 | 1.0008549657 |
| 2181 | 2180 | 5919.879192990223767189713 | 1.00085932811 |
| 2182 | 2181 | 5923.106381513175858435425 | 1.00086120428 |
| 2183 | 2182 | 5926.319314631984170975511 | 1.00086063215 |
| 2184 | 2183 | 5929.518250588695026707945 | 1.00085765931 |
| 2185 | 2184 | 5932.70350400878580854365 | 1.00085234277 |
| 2186 | 2185 | 5935.875444373536757571817 | 1.00084474866 |
| 2187 | 2186 | 5939.034494246080080355923 | 1.00083495189 |
| 2188 | 2187 | 5942.181127259557685330294 | 1.00082303584 |
| 2189 | 2188 | 5945.315865876953279320599 | 1.00080909192 |
| 2190 | 2189 | 5948.439278933252293017468 | 1.00079321914 |
| 2191 | 2190 | 5951.551978971618848195228 | 1.00077552366 |
| 2192 | 2191 | 5954.654619386257667243918 | 1.00075611825 |
| 2193 | 2192 | 5957.747891385545677121394 | 1.0007351218 |
| 2194 | 2193 | 5960.832520789868601009899 | 1.00071265878 |
| 2195 | 2194 | 5963.909264679377915694993 | 1.00068885861 |
| 2196 | 2195 | 5966.978907907589383411853 | 1.00066385508 |
| 2197 | 2196 | 5970.042259497372513328734 | 1.00063778576 |
| 2198 | 2197 | 5973.100148936427723849375 | 1.00061079136 |
| 2199 | 2198 | 5976.153422389812015596638 | 1.00058301506 |
| 2200 | 2199 | 5979.202938847452391583616 | 1.00055460189 |
| 2201 | 2200 | 5982.249566224877264164296 | 1.00052569806 |
| 2202 | 2201 | 5985.294177435598288411485 | 1.00049645028 |
| 2203 | 2202 | 5988.337646453687517889302 | 1.00046700516 |
| 2204 | 2203 | 5991.380844385116993966025 | 1.00043750849 |
| 2205 | 2204 | 5994.424635566359802077476 | 1.00040810461 |
| 2206 | 2205 | 5997.469873708593651675041 | 1.00037893581 |
| 2207 | 2206 | 6000.517398105600998596148 | 1.00035014164 |
| 2208 | 2207 | 6003.568029923124906239751 | 1.00032185833 |
| 2209 | 2208 | 6006.622568587018945029174 | 1.00029421824 |
| 2210 | 2209 | 6009.681788287024592227283 | 1.00026734918 |
| 2211 | 2210 | 6012.746434612423363730607 | 1.00024137399 |
| 2212 | 2211 | 6015.817221335146234175276 | 1.00021640991 |
| 2213 | 2212 | 6018.894827355183115586101 | 1.00019256816 |
| 2214 | 2213 | 6021.979893822323971117893 | 1.00016995345 |
| 2215 | 2214 | 6025.073021447384593048533 | 1.00014866354 |
| 2216 | 2215 | 6028.174768015128557333401 | 1.00012878887 |
| 2217 | 2216 | 6031.285646110097073432762 | 1.00011041219 |
| 2218 | 2217 | 6034.40612106550535551777 | 1.00009360824 |
| 2219 | 2218 | 6037.536609144262987468264 | 1.00007844348 |
| 2220 | 2219 | 6040.677475960032011265541 | 1.00006497581 |
| 2221 | 2220 | 6043.829035145055815183395 | 1.00005325446 |
| 2222 | 2221 | 6046.991547270280191768751 | 1.00004331973 |
| 2223 | 2222 | 6050.165219022051182420217 | 1.00003520296 |
| 2224 | 2223 | 6053.350202638418651204688 | 1.0000289264 |
| 2225 | 2224 | 6056.546595606806150026932 | 1.00002450323 |
| 2226 | 2225 | 6059.754440623532822923009 | 1.00002193756 |
| 2227 | 2226 | 6062.973725814398148324049 | 1.00002122448 |
| 2228 | 2227 | 6066.204385214271529241838 | 1.00002235019 |
| 2229 | 2228 | 6069.446299502372371147473 | 1.00002529211 |
| 2230 | 2229 | 6072.699296988688527508535 | 1.00003001909 |
| 2231 | 2230 | 6075.963154845767937395397 | 1.00003649162 |
| 2232 | 2231 | 6079.237600578935894101949 | 1.00004466213 |
| 2233 | 2232 | 6082.522313726844476544493 | 1.00005447523 |
| 2234 | 2233 | 6085.816927783156868048679 | 1.00006586812 |
| 2235 | 2234 | 6089.121032329112987436072 | 1.00007877087 |
| 2236 | 2235 | 6092.434175365719231406957 | 1.00009310691 |
| 2237 | 2236 | 6095.755865833359074741045 | 1.00010879342 |
| 2238 | 2237 | 6099.085576305737404559695 | 1.00012574178 |
| 2239 | 2238 | 6102.42274584425407190077 | 1.00014385807 |
| 2240 | 2239 | 6105.766782998155188379065 | 1.00016304357 |
| 2241 | 2240 | 6109.117068935137783596742 | 1.00018319527 |
| 2242 | 2241 | 6112.472960686487803977355 | 1.00020420647 |
| 2243 | 2242 | 6115.833794490315921593083 | 1.00022596725 |
| 2244 | 2243 | 6119.198889216022676203222 | 1.00024836509 |
| 2245 | 2244 | 6122.567549852776125170188 | 1.00027128547 |
| 2246 | 2245 | 6125.939071044523030555354 | 1.0002946124 |
| 2247 | 2246 | 6129.312740653879845527798 | 1.00031822901 |
| 2248 | 2247 | 6132.687843337163111306652 | 1.00034201819 |
| 2249 | 2248 | 6136.06366411282063894117 | 1.0003658631 |
| 2250 | 2249 | 6139.439491905614883550633 | 1.00038964781 |
| 2251 | 2250 | 6142.814623049087637966704 | 1.00041325784 |
| 2252 | 2251 | 6146.188364729099556571047 | 1.00043658069 |
| 2253 | 2252 | 6149.560038351587615201228 | 1.00045950643 |
| 2254 | 2253 | 6152.928982818116541751573 | 1.00048192821 |
| 2255 | 2254 | 6156.294557693314222396545 | 1.00050374276 |
| 2256 | 2255 | 6159.656146248873405272388 | 1.00052485085 |
| 2257 | 2256 | 6163.013158369469602979147 | 1.00054515783 |
| 2258 | 2257 | 6166.365033306684480075593 | 1.00056457396 |
| 2259 | 2258 | 6169.711242267831388719231 | 1.00058301492 |
| 2260 | 2259 | 6173.051290827450935193056 | 1.00060040209 |
| 2261 | 2260 | 6176.384721150175057266798 | 1.00061666299 |
| 2262 | 2261 | 6179.711114014643309315384 | 1.0006317315 |
| 2263 | 2262 | 6183.030090629189862193962 | 1.00064554822 |
| 2264 | 2263 | 6186.341314231098857929766 | 1.00065806064 |
| 2265 | 2264 | 6189.644491462343728345686 | 1.00066922339 |
| 2266 | 2265 | 6192.939373515877215564996 | 1.00067899842 |
| 2267 | 2266 | 6196.225757047717284110705 | 1.00068735505 |
| 2268 | 2267 | 6199.503484851273920895677 | 1.00069427016 |
| 2269 | 2268 | 6202.772446291576911452359 | 1.00069972816 |
| 2270 | 2269 | 6206.032577498288918201976 | 1.00070372105 |
| 2271 | 2270 | 6209.283861317615389474761 | 1.00070624836 |
| 2272 | 2271 | 6212.526327024446807603364 | 1.00070731713 |
| 2273 | 2272 | 6215.760049797283374209091 | 1.00070694174 |
| 2274 | 2273 | 6218.985149959691317470505 | 1.00070514383 |
| 2275 | 2274 | 6222.201791993217560257853 | 1.00070195209 |
| 2276 | 2275 | 6225.410183327839594186898 | 1.00069740205 |
| 2277 | 2276 | 6228.610572917144291294323 | 1.00069153584 |
| 2278 | 2277 | 6231.803249606507453233074 | 1.00068440191 |
| 2279 | 2278 | 6234.988540303579749403037 | 1.00067605471 |
| 2280 | 2279 | 6238.166807961369159768371 | 1.00066655438 |
| 2281 | 2280 | 6241.338449385140198355591 | 1.00065596634 |
| 2282 | 2281 | 6244.503892875221410837888 | 1.00064436093 |
| 2283 | 2282 | 6247.663595718620576803224 | 1.00063181299 |
| 2284 | 2283 | 6250.818041543087689894721 | 1.00061840143 |
| 2285 | 2284 | 6253.967737547935465651282 | 1.00060420874 |
| 2286 | 2285 | 6257.113211626522527540314 | 1.00058932058 |
| 2287 | 2286 | 6260.255009395822614139788 | 1.00057382525 |
| 2288 | 2287 | 6263.393691148941594841231 | 1.00055781321 |
| 2289 | 2288 | 6266.529828746800642921181 | 1.00054137658 |
| 2290 | 2289 | 6269.664002465476873998647 | 1.00052460864 |
| 2291 | 2290 | 6272.796797815880819375883 | 1.00050760331 |
| 2292 | 2291 | 6275.928802352552402478224 | 1.00049045465 |
| 2293 | 2292 | 6279.060602488373191972498 | 1.00047325632 |
| 2294 | 2293 | 6282.19278033192262301699 | 1.00045610112 |
| 2295 | 2294 | 6285.325910564050050584919 | 1.00043908047 |
| 2296 | 2295 | 6288.460557369993801846941 | 1.00042228395 |
| 2297 | 2296 | 6291.597271443054133377882 | 1.00040579878 |
| 2298 | 2297 | 6294.736587075420901145707 | 1.0003897094 |
| 2299 | 2298 | 6297.879019351270958147578 | 1.00037409706 |
| 2300 | 2299 | 6301.025061456687350154304 | 1.00035903932 |
| 2301 | 2300 | 6304.175182120315217987823 | 1.00034460972 |
| 2302 | 2301 | 6307.329823197961243534593 | 1.00033087739 |
| 2303 | 2302 | 6310.489397413568162696846 | 1.0003179067 |
| 2304 | 2303 | 6313.654286268157317455291 | 1.00030575693 |
| 2305 | 2304 | 6316.824838127434755943598 | 1.00029448199 |
| 2306 | 2305 | 6320.001366497804635811918 | 1.00028413019 |
| 2307 | 2306 | 6323.18414849953253778181 | 1.00027474394 |
| 2308 | 2307 | 6326.373423544755897685335 | 1.00026635965 |
| 2309 | 2308 | 6329.56939222695448383932 | 1.00025900748 |
| 2310 | 2309 | 6332.77221542737624546751 | 1.00025271127 |
| 2311 | 2310 | 6335.982013642768667782942 | 1.00024748844 |
| 2312 | 2311 | 6339.198866537598859637521 | 1.00024334993 |
| 2313 | 2312 | 6342.422812722762948644923 | 1.00024030019 |
| 2314 | 2313 | 6345.653849761593023430776 | 1.00023833716 |
| 2315 | 2314 | 6348.891934402773948327923 | 1.00023745239 |
| 2316 | 2315 | 6352.136983038589004852617 | 1.00023763108 |
| 2317 | 2316 | 6355.388872385728595440437 | 1.0002388522 |
| 2318 | 2317 | 6358.647440384726242423322 | 1.00024108869 |
| 2319 | 2318 | 6361.912487312936818146716 | 1.0002443076 |
| 2320 | 2319 | 6365.183777104849234068954 | 1.00024847036 |
| 2321 | 2320 | 6368.461038872435446085315 | 1.00025353297 |
| 2322 | 2321 | 6371.743968617185184375086 | 1.00025944637 |
| 2323 | 2322 | 6375.032231124466680518583 | 1.00026615667 |
| 2324 | 2323 | 6378.325462029893014487738 | 1.00027360553 |
| 2325 | 2324 | 6381.623270046466465516941 | 1.0002817305 |
| 2326 | 2325 | 6384.925239340424079152513 | 1.00029046541 |
| 2327 | 2326 | 6388.230932042920918947994 | 1.00029974079 |
| 2328 | 2327 | 6391.539890883967199875518 | 1.00030948427 |
| 2329 | 2328 | 6394.851641934385409200503 | 1.000319621 |
| 2330 | 2329 | 6398.165697440976961246728 | 1.00033007414 |
| 2331 | 2330 | 6401.481558739587884376538 | 1.00034076531 |
| 2332 | 2331 | 6404.798719230342092997277 | 1.00035161502 |
| 2333 | 2332 | 6408.116667398971144827392 | 1.00036254321 |
| 2334 | 2333 | 6411.43488986791280217529 | 1.00037346965 |
| 2335 | 2334 | 6414.752874460678562486487 | 1.00038431449 |
| 2336 | 2335 | 6418.070113262903526539015 | 1.00039499871 |
| 2337 | 2336 | 6421.386105663491027990218 | 1.00040544456 |
| 2338 | 2337 | 6424.700361359349415376335 | 1.00041557607 |
| 2339 | 2338 | 6428.01240330738888087111 | 1.00042531949 |
| 2340 | 2339 | 6431.321770607701458456762 | 1.00043460372 |
| 2341 | 2340 | 6434.628021302186026526978 | 1.00044336076 |
| 2342 | 2341 | 6437.930735073300680848154 | 1.0004515261 |
| 2343 | 2342 | 6441.22951582812511165809 | 1.00045903914 |
| 2344 | 2343 | 6444.523994153493136107759 | 1.00046584351 |
| 2345 | 2344 | 6447.813829628607423480709 | 1.00047188749 |
| 2346 | 2345 | 6451.098712982271445850535 | 1.00047712427 |
| 2347 | 2346 | 6454.378368082664168494113 | 1.00048151229 |
| 2348 | 2347 | 6457.652553748436995245365 | 1.00048501548 |
| 2349 | 2348 | 6460.921065370825712017791 | 1.00048760349 |
| 2350 | 2349 | 6464.183736337438031581686 | 1.00048925195 |
| 2351 | 2350 | 6467.440439249394958679794 | 1.00048994256 |
| 2352 | 2351 | 6470.691086924566435150977 | 1.00048966332 |
| 2353 | 2352 | 6473.935633180743228204491 | 1.00048840855 |
| 2354 | 2353 | 6477.174073393722226393926 | 1.00048617903 |
| 2355 | 2354 | 6480.406444826445466901303 | 1.00048298199 |
| 2356 | 2355 | 6483.632826726518447674678 | 1.00047883113 |
| 2357 | 2356 | 6486.853340190634575046388 | 1.00047374659 |
| 2358 | 2357 | 6490.068147795643871203701 | 1.00046775482 |
| 2359 | 2358 | 6493.277452997219169645776 | 1.00046088858 |
| 2360 | 2359 | 6496.481499298285788655282 | 1.00045318667 |
| 2361 | 2360 | 6499.680569190584926764507 | 1.00044469386 |
| 2362 | 2361 | 6502.87498287393064097513 | 1.00043546061 |
| 2363 | 2362 | 6506.065096758889186581089 | 1.00042554284 |
| 2364 | 2363 | 6509.25130175975175357945 | 1.00041500168 |
| 2365 | 2364 | 6512.434021385781393882161 | 1.00040390314 |
| 2366 | 2365 | 6515.613709639786518653367 | 1.00039231777 |
| 2367 | 2366 | 6518.790848734101265281649 | 1.00038032031 |
| 2368 | 2367 | 6521.965946635032012074575 | 1.00036798932 |
| 2369 | 2368 | 6525.139534447754319857709 | 1.00035540673 |
| 2370 | 2369 | 6528.312163654510833676763 | 1.00034265743 |
| 2371 | 2370 | 6531.484403219763705582061 | 1.00032982883 |
| 2372 | 2371 | 6534.656836576690735010027 | 1.00031701038 |
| 2373 | 2372 | 6537.830058510078834861003 | 1.00030429307 |
| 2374 | 2373 | 6541.004671951258141092456 | 1.00029176898 |
| 2375 | 2374 | 6544.181284701231985106576 | 1.00027953073 |
| 2376 | 2375 | 6547.360506098589322409638 | 1.000267671 |
| 2377 | 2376 | 6550.542943649134740291922 | 1.00025628202 |
| 2378 | 2377 | 6553.729199634434947231433 | 1.000245455 |
| 2379 | 2378 | 6556.919867716658196125371 | 1.0002352797 |
| 2380 | 2379 | 6560.115529557173361979546 | 1.00022584384 |
| 2381 | 2380 | 6563.31675146637776854428 | 1.00021723263 |
| 2382 | 2381 | 6566.524081102137163738916 | 1.00020952829 |
| 2383 | 2382 | 6569.738044234047747904599 | 1.00020280952 |
| 2384 | 2383 | 6572.959141590469569524571 | 1.00019715107 |
| 2385 | 2384 | 6576.187845804934064640212 | 1.00019262326 |
| 2386 | 2385 | 6579.424598478097605019627 | 1.00018929156 |
| 2387 | 2386 | 6582.669807370899636588728 | 1.00018721615 |
| 2388 | 2387 | 6585.923843743990748579259 | 1.00018645157 |
| 2389 | 2388 | 6589.187039857825632903698 | 1.00018704632 |
| 2390 | 2389 | 6592.459686647071579056622 | 1.00018904254 |
| 2391 | 2390 | 6595.742031582168482293295 | 1.00019247569 |
| 2392 | 2391 | 6599.034276729995257606994 | 1.00019737428 |
| 2393 | 2392 | 6602.336577024654321146188 | 1.00020375963 |
| 2394 | 2393 | 6605.649038758385011531941 | 1.00021164564 |
| 2395 | 2394 | 6608.971718301563356091667 | 1.00022103863 |
| 2396 | 2395 | 6612.304621059644589931876 | 1.0002319372 |
| 2397 | 2396 | 6615.647700673761700759676 | 1.00024433214 |
| 2398 | 2397 | 6619.000858470513607586915 | 1.00025820632 |
| 2399 | 2398 | 6622.363943165266183713099 | 1.00027353473 |
| 2400 | 2399 | 6625.736750822054160390457 | 1.00029028444 |
| 2401 | 2400 | 6629.1190250719180843896 | 1.00030841468 |
| 2402 | 2401 | 6632.510457590244137509737 | 1.00032787692 |
| 2403 | 2402 | 6635.910688832402015525126 | 1.00034861501 |
| 2404 | 2403 | 6639.319309025703503058549 | 1.00037056533 |
| 2405 | 2404 | 6642.735859414438171370648 | 1.00039365703 |
| 2406 | 2405 | 6646.15983375348904566796 | 1.00041781222 |
| 2407 | 2406 | 6649.590680044796359305412 | 1.0004429463 |
| 2408 | 2407 | 6653.027802509727769678268 | 1.00046896826 |
| 2409 | 2408 | 6656.470563789234673030391 | 1.000495781 |
| 2410 | 2409 | 6659.918287362532394098811 | 1.00052328172 |
| 2411 | 2410 | 6663.370260173942736321883 | 1.00055136237 |
| 2412 | 2411 | 6666.825735456486149303541 | 1.00057991002 |
| 2413 | 2412 | 6670.2839357398128601768 | 1.00060880737 |
| 2414 | 2413 | 6673.744056029122723793965 | 1.00063793321 |
| 2415 | 2414 | 6677.205267140846989168848 | 1.00066716296 |
| 2416 | 2415 | 6680.666719180056065129933 | 1.00069636917 |
| 2417 | 2416 | 6684.127545143819776406147 | 1.00072542208 |
| 2418 | 2417 | 6687.586864634084262478399 | 1.00075419018 |
| 2419 | 2418 | 6691.043787663045947323242 | 1.00078254077 |
| 2420 | 2419 | 6694.497418533500875305384 | 1.00081034059 |
| 2421 | 2420 | 6697.94685977622974344001 | 1.00083745633 |
| 2422 | 2421 | 6701.391216126147326383191 | 1.0008637553 |
| 2423 | 2422 | 6704.829598518701427051342 | 1.00088910599 |
| 2424 | 2423 | 6708.261128087852298997828 | 1.00091337866 |
| 2425 | 2424 | 6711.684940146899543214301 | 1.00093644595 |
| 2426 | 2425 | 6715.10018813345020433713 | 1.00095818343 |
| 2427 | 2426 | 6718.506047499939155307801 | 1.00097847021 |
| 2428 | 2427 | 6721.901719531320394770547 | 1.00099718947 |
| 2429 | 2428 | 6725.286435071844672851784 | 1.00101422904 |
| 2430 | 2429 | 6728.659458143223553297352 | 1.00102948187 |
| 2431 | 2430 | 6732.020089436950824487928 | 1.0010428466 |
| 2432 | 2431 | 6735.367669664106874924997 | 1.001054228 |
| 2433 | 2432 | 6738.701582746607622549315 | 1.00106353745 |
| 2434 | 2433 | 6742.021258834573802588114 | 1.00107069337 |
| 2435 | 2434 | 6745.326177135285459927595 | 1.0010756216 |
| 2436 | 2435 | 6748.615868540046573966518 | 1.00107825582 |
| 2437 | 2436 | 6751.889918036211730105675 | 1.00107853784 |
| 2438 | 2437 | 6755.147966892616175277029 | 1.00107641793 |
| 2439 | 2438 | 6758.389714607697679241839 | 1.00107185508 |
| 2440 | 2439 | 6761.614920610698307554059 | 1.00106481722 |
| 2441 | 2440 | 6764.823405707481174538215 | 1.00105528146 |
| 2442 | 2441 | 6768.015053263685929729832 | 1.00104323417 |
| 2443 | 2442 | 6771.189810119171376647603 | 1.00102867116 |
| 2444 | 2443 | 6774.347687228948287930914 | 1.0010115977 |
| 2445 | 2444 | 6777.488760027084076266348 | 1.00099202858 |
| 2446 | 2445 | 6780.613168511357297742665 | 1.0009699881 |
| 2447 | 2446 | 6783.721117047747706683261 | 1.00094551 |
| 2448 | 2447 | 6786.812873895160394831851 | 1.0009186374 |
| 2449 | 2448 | 6789.888770452094053464181 | 1.00088942261 |
| 2450 | 2449 | 6792.949200228267220751017 | 1.00085792703 |
| 2451 | 2450 | 6795.994617545506181896977 | 1.00082422086 |
| 2452 | 2451 | 6799.025535973467708114705 | 1.00078838292 |
| 2453 | 2452 | 6802.042526507012883700723 | 1.0007505003 |
| 2454 | 2453 | 6805.046215493258839599006 | 1.00071066808 |
| 2455 | 2454 | 6808.037282317507407828304 | 1.00066898894 |
| 2456 | 2455 | 6811.016456858377843701666 | 1.00062557279 |
| 2457 | 2456 | 6813.984516723549358389201 | 1.00058053635 |
| 2458 | 2457 | 6816.942284278543033395007 | 1.00053400265 |
| 2459 | 2458 | 6819.890623481936790874581 | 1.00048610062 |
| 2460 | 2459 | 6822.830436541306803412369 | 1.00043696454 |
| 2461 | 2460 | 6825.762660405019694968231 | 1.00038673351 |
| 2462 | 2461 | 6828.688263105758100715964 | 1.00033555094 |
| 2463 | 2462 | 6831.608239972343965172702 | 1.00028356395 |
| 2464 | 2463 | 6834.523609727026089252051 | 1.00023092279 |
| 2465 | 2464 | 6837.435410485918003811263 | 1.00017778029 |
| 2466 | 2465 | 6840.344695680706772433963 | 1.00012429119 |
| 2467 | 2466 | 6843.252529920100750630113 | 1.00007061161 |
| 2468 | 2467 | 6846.159984809743021924985 | 1.00001689835 |
| 2469 | 2468 | 6849.068134749485999487944 | 0.999963308338 |
| 2470 | 2469 | 6851.978052727000773262663 | 0.999909998004 |
| 2471 | 2470 | 6854.890806126681890999544 | 0.999857122649 |
| 2472 | 2471 | 6857.807452572704528246053 | 0.999804835858 |
| 2473 | 2472 | 6860.729035824897014518466 | 0.999753288904 |
| 2474 | 2473 | 6863.656581745808470969565 | 0.999702630161 |
| 2475 | 2474 | 6866.591094356980347111276 | 0.999653004543 |
| 2476 | 2475 | 6869.533552001973819132975 | 0.99960455295 |
| 2477 | 2476 | 6872.484903633164649413484 | 0.999557411739 |
| 2478 | 2477 | 6875.446065238695934365021 | 0.999511712214 |
| 2479 | 2478 | 6878.417916425280309534864 | 0.999467580142 |
| 2480 | 2479 | 6881.401297171770140375711 | 0.999425135297 |
| 2481 | 2480 | 6884.397004767570869865143 | 0.999384491024 |
| 2482 | 2481 | 6887.405790949063228587965 | 0.999345753846 |
| 2483 | 2482 | 6890.428359246228969128006 | 0.99930902309 |
| 2484 | 2483 | 6893.465362550646993911596 | 0.999274390555 |
| 2485 | 2484 | 6896.517400914947308289781 | 0.999241940206 |
| 2486 | 2485 | 6899.585019592684502488702 | 0.999211747915 |
| 2487 | 2486 | 6902.668707326426023816646 | 0.999183881228 |
| 2488 | 2487 | 6905.768894890649115995804 | 0.999158399177 |
| 2489 | 2488 | 6908.885953894809913830335 | 0.999135352124 |
| 2490 | 2489 | 6912.020195850694863556116 | 0.999114781647 |
| 2491 | 2490 | 6915.171871506894573625189 | 0.999096720469 |
| 2492 | 2491 | 6918.341170451959644661235 | 0.999081192415 |
| 2493 | 2492 | 6921.528220986513282898804 | 0.99906821242 |
| 2494 | 2493 | 6924.733090263312884012561 | 0.999057786568 |
| 2495 | 2494 | 6927.955784692978581323613 | 0.999049912172 |
| 2496 | 2495 | 6931.19625061184723219963 | 0.999044577889 |
| 2497 | 2496 | 6934.454375207171637102984 | 0.999041763877 |
| 2498 | 2497 | 6937.729987693673004464704 | 0.999041441982 |
| 2499 | 2498 | 6941.022860734275707858903 | 0.999043575965 |
| 2500 | 2499 | 6944.332712096712976225203 | 0.999048121755 |
| 2501 | 2500 | 6947.65920653659586102453 | 0.999055027741 |
E-015-li-coefficients-n3000.json
— 1.3 KB, updated 08-18-2026
JSON sidecar (click to expand)
{
"experiment": "E-015",
"task": "3.2 continuation: Li coefficients from arithmetic side (extended to n_max=3000)",
"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-015-li-coefficients-n3000.py",
"parameters": {
"n_max": 3000,
"dps": 1450,
"arb_bits": 5029
},
"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": "8617.21920730109",
"asymptotic_ratio_at_n_max": "0.99984452",
"self_consistency_rel_dev": "3.81e-1005"
},
"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": 5143.6,
"timestamp_utc": "2026-08-18T12:03:50.474470+00:00",
"row_count": 3000
}
Source code
Python script (click to expand)
"""E-015 — Task 3.2 continuation: Li coefficients, extended to n_max=3000.
Identical method to E-011 (Bombieri–Lagarias Thm 2, arithmetic side);
see that script's docstring for the full derivation and caveats. Only
the target range and output filenames differ. Launched as a detached
background run (session 005, item D).
Original E-011 docstring follows.
---
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-015-li-coefficients-n3000.csv"
JSON = DATA / "E-015-li-coefficients-n3000.json"
N_MAX = 3000
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-015",
"task": "3.2 continuation: Li coefficients from arithmetic side "
"(extended to n_max=3000)",
"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-015-li-coefficients-n3000.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())