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
← prev
page 6 of 6
· 500/page · 3000 rows
| # | n | lambda_n | lambda_over_refined_asymptotic |
|---|---|---|---|
| 2502 | 2501 | 6951.001957896490958165889 | 0.999064235094 |
| 2503 | 2502 | 6954.36053140955999703452 | 0.999075678109 |
| 2504 | 2503 | 6957.734446195381336475817 | 0.999089284584 |
| 2505 | 2504 | 6961.123177934704119783416 | 0.999104976218 |
| 2506 | 2505 | 6964.526161709084506288851 | 0.999122669034 |
| 2507 | 2506 | 6967.942794990623841305545 | 0.999142273818 |
| 2508 | 2507 | 6971.372440766374312005474 | 0.999163696582 |
| 2509 | 2508 | 6974.814430781401648242291 | 0.999186839038 |
| 2510 | 2509 | 6978.268068883999454160734 | 0.99921159909 |
| 2511 | 2510 | 6981.732634456138081212188 | 0.99923787133 |
| 2512 | 2511 | 6985.207385911904440258017 | 0.999265547549 |
| 2513 | 2512 | 6988.691564246449236954741 | 0.99929451725 |
| 2514 | 2513 | 6992.184396617805803803871 | 0.999324668166 |
| 2515 | 2514 | 6995.685099943880558783226 | 0.999355886778 |
| 2516 | 2515 | 6999.192884496939268049292 | 0.999388058829 |
| 2517 | 2516 | 7002.706957478025411315346 | 0.999421069841 |
| 2518 | 2517 | 7006.2265265539462864729 | 0.999454805612 |
| 2519 | 2518 | 7009.750803339747853127158 | 0.999489152722 |
| 2520 | 2519 | 7013.279006809969082598886 | 0.99952399901 |
| 2521 | 2520 | 7016.810366622418714088316 | 0.999559234045 |
| 2522 | 2521 | 7020.344126338749363023731 | 0.999594749584 |
| 2523 | 2522 | 7023.879546526713041128975 | 0.999630440008 |
| 2524 | 2523 | 7027.41590772966509913601 | 0.999666202734 |
| 2525 | 2524 | 7030.952513289636797254474 | 0.999701938614 |
| 2526 | 2525 | 7034.488692011116202965251 | 0.999737552306 |
| 2527 | 2526 | 7038.023800653558640539477 | 0.999772952612 |
| 2528 | 2527 | 7041.557226241586896344714 | 0.999808052806 |
| 2529 | 2528 | 7045.088388182832960488999 | 0.999842770918 |
| 2530 | 2529 | 7048.616740184412142852303 | 0.999877029997 |
| 2531 | 2530 | 7052.141771960101592324074 | 0.99991075834 |
| 2532 | 2531 | 7055.66301072141301949225 | 0.999943889692 |
| 2533 | 2532 | 7059.180022446898045689246 | 0.999976363414 |
| 2534 | 2533 | 7062.692412925198197889168 | 1.00000812462 |
| 2535 | 2534 | 7066.19982856854414394134 | 1.00003912426 |
| 2536 | 2535 | 7069.701956994614232504326 | 1.00006931923 |
| 2537 | 2536 | 7073.198527375874625971854 | 1.00009867236 |
| 2538 | 2537 | 7076.689310556736125423156 | 1.00012715245 |
| 2539 | 2538 | 7080.174118940070021605752 | 1.00015473423 |
| 2540 | 2539 | 7083.652806145820838253692 | 1.00018139828 |
| 2541 | 2540 | 7087.125266445631603223694 | 1.00020713097 |
| 2542 | 2541 | 7090.591433978551325506342 | 1.00023192432 |
| 2543 | 2542 | 7094.051281754018835561468 | 1.00025577583 |
| 2544 | 2543 | 7097.504820449406382281125 | 1.00027868834 |
| 2545 | 2544 | 7100.952097010454876583828 | 1.00030066976 |
| 2546 | 2545 | 7104.393193063935145884098 | 1.0003217329 |
| 2547 | 2546 | 7107.828223152820970961098 | 1.00034189515 |
| 2548 | 2547 | 7111.257332805155236654463 | 1.00036117826 |
| 2549 | 2548 | 7114.680696448625747959318 | 1.00037960798 |
| 2550 | 2549 | 7118.098515183637961605134 | 1.00039721376 |
| 2551 | 2550 | 7121.511014428374209642322 | 1.00041402842 |
| 2552 | 2551 | 7124.918441449959446151577 | 1.00043008779 |
| 2553 | 2552 | 7128.321062796408999294191 | 1.00044543034 |
| 2554 | 2553 | 7131.719161644511510640743 | 1.00046009679 |
| 2555 | 2554 | 7135.11303507919784157064 | 1.00047412974 |
| 2556 | 2555 | 7138.502991320262281129174 | 1.00048757328 |
| 2557 | 2556 | 7141.889346912534378353111 | 1.00050047258 |
| 2558 | 2557 | 7145.272423895747048203147 | 1.00051287349 |
| 2559 | 2558 | 7148.652546970408598872045 | 1.00052482217 |
| 2560 | 2559 | 7152.030040675962769070197 | 1.00053636463 |
| 2561 | 2560 | 7155.405226597411952305773 | 1.00054754644 |
| 2562 | 2561 | 7158.778420616385161022584 | 1.00055841223 |
| 2563 | 2562 | 7162.14993022235501765068 | 1.00056900541 |
| 2564 | 2563 | 7165.520051899348648574332 | 1.00057936778 |
| 2565 | 2564 | 7168.88906860305771492411 | 1.00058953915 |
| 2566 | 2565 | 7172.257247342735263115831 | 1.00059955704 |
| 2567 | 2566 | 7175.624836881674336447377 | 1.00060945636 |
| 2568 | 2567 | 7178.992065569398457316709 | 1.00061926913 |
| 2569 | 2568 | 7182.359139317960634678843 | 1.00062902414 |
| 2570 | 2569 | 7185.726239733949288969388 | 1.00063874679 |
| 2571 | 2570 | 7189.0935224169405620693 | 1.00064845878 |
| 2572 | 2571 | 7192.461115434221346535732 | 1.00065817795 |
| 2573 | 2572 | 7195.829117980640765631177 | 1.00066791811 |
| 2574 | 2573 | 7199.19759923143476475498 | 1.00067768884 |
| 2575 | 2574 | 7202.566597394814173226926 | 1.00068749542 |
| 2576 | 2575 | 7205.936118970016510361347 | 1.00069733871 |
| 2577 | 2576 | 7209.306138215401571033616 | 1.00070721511 |
| 2578 | 2577 | 7212.676596830026216857124 | 1.00071711648 |
| 2579 | 2578 | 7216.047403850970727492757 | 1.00072703019 |
| 2580 | 2579 | 7219.418435767513534878939 | 1.0007369391 |
| 2581 | 2580 | 7222.78953685206923781917 | 1.00074682167 |
| 2582 | 2581 | 7226.160519706622575344736 | 1.00075665197 |
| 2583 | 2582 | 7229.531166022214627073232 | 1.00076639988 |
| 2584 | 2583 | 7232.90122754787298153924 | 1.00077603116 |
| 2585 | 2584 | 7236.270427264230984191642 | 1.00078550768 |
| 2586 | 2585 | 7239.638460755958370857436 | 1.00079478757 |
| 2587 | 2586 | 7243.004997776032415787785 | 1.00080382547 |
| 2588 | 2587 | 7246.369683993820832734065 | 1.0008125728 |
| 2589 | 2588 | 7249.732142917930541969132 | 1.00082097798 |
| 2590 | 2589 | 7253.091977983805329427127 | 1.00082898677 |
| 2591 | 2590 | 7256.448774795135417629822 | 1.00083654256 |
| 2592 | 2591 | 7259.802103507277825454768 | 1.00084358673 |
| 2593 | 2592 | 7263.151521340082616661282 | 1.00085005897 |
| 2594 | 2593 | 7266.496575206780922061407 | 1.00085589766 |
| 2595 | 2594 | 7269.836804444919837660086 | 1.00086104025 |
| 2596 | 2595 | 7273.171743634730475368467 | 1.00086542366 |
| 2597 | 2596 | 7276.500925489791734454563 | 1.00086898465 |
| 2598 | 2597 | 7279.823883804406551105042 | 1.00087166026 |
| 2599 | 2598 | 7283.140156441741856409752 | 1.00087338819 |
| 2600 | 2599 | 7286.449288346500209297213 | 1.00087410723 |
| 2601 | 2600 | 7289.750834565691633272308 | 1.00087375769 |
| 2602 | 2601 | 7293.044363260959712241471 | 1.00087228175 |
| 2603 | 2602 | 7296.329458695887198475192 | 1.00086962392 |
| 2604 | 2603 | 7299.605724181763527489612 | 1.00086573144 |
| 2605 | 2604 | 7302.872784965439556773753 | 1.00086055462 |
| 2606 | 2605 | 7306.130291043122948684265 | 1.00085404728 |
| 2607 | 2606 | 7309.377919884279870483606 | 1.00084616707 |
| 2608 | 2607 | 7312.615379050203626543971 | 1.00083687583 |
| 2609 | 2608 | 7315.842408692286588548763 | 1.00082613994 |
| 2610 | 2609 | 7319.058783915586056932773 | 1.00081393062 |
| 2611 | 2610 | 7322.264316993904778418879 | 1.00080022421 |
| 2612 | 2611 | 7325.458859423309681030661 | 1.00078500247 |
| 2613 | 2612 | 7328.642303801784518447772 | 1.00076825278 |
| 2614 | 2613 | 7331.814585523549734594114 | 1.00074996842 |
| 2615 | 2614 | 7334.975684277481825923412 | 1.00073014869 |
| 2616 | 2615 | 7338.125625340020337084368 | 1.00070879913 |
| 2617 | 2616 | 7341.264480653958626899096 | 1.00068593163 |
| 2618 | 2617 | 7344.392369685569668266998 | 1.00066156451 |
| 2619 | 2618 | 7347.5094600536151361731 | 1.00063572266 |
| 2620 | 2619 | 7350.615967924919413267431 | 1.00060843749 |
| 2621 | 2620 | 7353.71215817235423310171 | 1.000579747 |
| 2622 | 2621 | 7356.798344292268655828981 | 1.00054969575 |
| 2623 | 2622 | 7359.874888079606966116973 | 1.00051833475 |
| 2624 | 2623 | 7362.942199060177831565592 | 1.00048572143 |
| 2625 | 2624 | 7366.000733680765523077697 | 1.00045191949 |
| 2626 | 2625 | 7369.050994259001995883624 | 1.00041699873 |
| 2627 | 2626 | 7372.093527696140970202592 | 1.00038103488 |
| 2628 | 2627 | 7375.128923957085663327657 | 1.00034410939 |
| 2629 | 2628 | 7378.157814323214391284343 | 1.00030630914 |
| 2630 | 2629 | 7381.180869424716841481528 | 1.0002677262 |
| 2631 | 2630 | 7384.198797060292493957619 | 1.00022845752 |
| 2632 | 2631 | 7387.212339813165656414355 | 1.00018860457 |
| 2633 | 2632 | 7390.222272473433267304536 | 1.000148273 |
| 2634 | 2633 | 7393.229399277776601739291 | 1.00010757226 |
| 2635 | 2634 | 7396.234550978531103989846 | 1.00006661519 |
| 2636 | 2635 | 7399.238581755014838267928 | 1.00002551759 |
| 2637 | 2636 | 7402.242365980860844878842 | 0.999984397774 |
| 2638 | 2637 | 7405.246794861877662091714 | 0.999943376133 |
| 2639 | 2638 | 7408.25277295967139927011 | 0.999902574636 |
| 2640 | 2639 | 7411.261214616898342250581 | 0.999862116358 |
| 2641 | 2640 | 7414.273040300575818843807 | 0.999822124977 |
| 2642 | 2641 | 7417.289172880358011664603 | 0.999782724275 |
| 2643 | 2642 | 7420.310533859080033093998 | 0.999744037631 |
| 2644 | 2643 | 7423.338039573185736727196 | 0.999706187505 |
| 2645 | 2644 | 7426.372597380880713736623 | 0.999669294933 |
| 2646 | 2645 | 7429.415101855990421562125 | 0.999633479012 |
| 2647 | 2646 | 7432.46643100555356121839 | 0.999598856403 |
| 2648 | 2647 | 7435.52744252914224250264 | 0.999565540825 |
| 2649 | 2648 | 7438.598970137773179378949 | 0.999533642573 |
| 2650 | 2649 | 7441.681819950058608589846 | 0.999503268039 |
| 2651 | 2650 | 7444.776766982942730798889 | 0.999474519252 |
| 2652 | 2651 | 7447.884551753980578739037 | 0.999447493428 |
| 2653 | 2652 | 7451.005877011643093758368 | 0.999422282545 |
| 2654 | 2653 | 7454.14140460957703453239 | 0.999398972933 |
| 2655 | 2654 | 7457.291752540113753548896 | 0.999377644891 |
| 2656 | 2655 | 7460.457492141609859889465 | 0.999358372328 |
| 2657 | 2656 | 7463.63914549341872542975 | 0.999341222423 |
| 2658 | 2657 | 7466.837183011438436866576 | 0.999326255323 |
| 2659 | 2658 | 7470.05202125626324696899 | 0.999313523863 |
| 2660 | 2659 | 7473.284020964986262018838 | 0.999303073319 |
| 2661 | 2660 | 7476.533485316665751499248 | 0.999294941194 |
| 2662 | 2661 | 7479.800658440381096393585 | 0.999289157035 |
| 2663 | 2662 | 7483.085724173672277652952 | 0.999285742287 |
| 2664 | 2663 | 7486.388805077984452105033 | 0.999284710173 |
| 2665 | 2664 | 7489.709961716532279673068 | 0.999286065625 |
| 2666 | 2665 | 7493.049192198763140101255 | 0.999289805235 |
| 2667 | 2666 | 7496.406431994340243642416 | 0.999295917251 |
| 2668 | 2667 | 7499.781554018292050021509 | 0.999304381605 |
| 2669 | 2668 | 7503.174368987689602093191 | 0.999315169981 |
| 2670 | 2669 | 7506.584626048924649665827 | 0.999328245917 |
| 2671 | 2670 | 7510.012013673375104503019 | 0.999343564941 |
| 2672 | 2671 | 7513.456160817966742547156 | 0.99936107474 |
| 2673 | 2672 | 7516.916638345877429084563 | 0.999380715373 |
| 2674 | 2673 | 7520.392960701388693010962 | 0.999402419505 |
| 2675 | 2674 | 7523.884587831675323825815 | 0.999426112681 |
| 2676 | 2675 | 7527.390927347142785550645 | 0.999451713626 |
| 2677 | 2676 | 7530.911336910780451585604 | 0.99947913458 |
| 2678 | 2677 | 7534.445126845901590912018 | 0.999508281659 |
| 2679 | 2678 | 7537.991562950594089508465 | 0.999539055236 |
| 2680 | 2679 | 7541.549869506214238109805 | 0.999571350359 |
| 2681 | 2680 | 7545.119232466324455758214 | 0.999605057181 |
| 2682 | 2681 | 7548.698802811609151356258 | 0.999640061418 |
| 2683 | 2682 | 7552.287700055505339207233 | 0.99967624482 |
| 2684 | 2683 | 7555.885015884560067708249 | 0.999713485662 |
| 2685 | 2684 | 7559.489817916878783459686 | 0.999751659251 |
| 2686 | 2685 | 7563.101153561460650782229 | 0.99979063844 |
| 2687 | 2686 | 7566.718053960731401839171 | 0.999830294155 |
| 2688 | 2687 | 7570.339537998183922117304 | 0.999870495932 |
| 2689 | 2688 | 7573.964616352723478711177 | 0.999911112447 |
| 2690 | 2689 | 7577.592295581089845356712 | 0.999952012067 |
| 2691 | 2690 | 7581.221582209593703126784 | 0.999993063382 |
| 2692 | 2691 | 7584.851486816360292030426 | 1.00003413575 |
| 2693 | 2692 | 7588.481028085319604039027 | 1.00007509982 |
| 2694 | 2693 | 7592.109236813319243244814 | 1.00011582806 |
| 2695 | 2694 | 7595.735159851962789124711 | 1.0001561953 |
| 2696 | 2695 | 7599.357863966091996756678 | 1.00019607917 |
| 2697 | 2696 | 7602.976439591233928464464 | 1.00023536066 |
| 2698 | 2697 | 7606.590004472822179995106 | 1.00027392455 |
| 2699 | 2698 | 7610.197707170572365905346 | 1.00031165986 |
| 2700 | 2699 | 7613.798730412043179682646 | 1.00034846031 |
| 2701 | 2700 | 7617.392294280142465700312 | 1.0003842247 |
| 2702 | 2701 | 7620.977659220139274647029 | 1.0004188573 |
| 2703 | 2702 | 7624.554128852613902186071 | 1.00045226824 |
| 2704 | 2703 | 7628.121052579714170625028 | 1.00048437377 |
| 2705 | 2704 | 7631.67782797308312244554 | 1.00051509664 |
| 2706 | 2705 | 7635.223902932875971243648 | 1.0005443663 |
| 2707 | 2706 | 7638.758777608387444157762 | 1.0005721192 |
| 2708 | 2707 | 7642.282006071959145516599 | 1.00059829891 |
| 2709 | 2708 | 7645.793197739024647384088 | 1.0006228564 |
| 2710 | 2709 | 7649.292018528371847776925 | 1.00064575008 |
| 2711 | 2710 | 7652.778191757951744965313 | 1.00066694594 |
| 2712 | 2711 | 7656.251498772834033972788 | 1.00068641762 |
| 2713 | 2712 | 7659.711779303196611161072 | 1.00070414644 |
| 2714 | 2713 | 7663.158931551531871906802 | 1.00072012139 |
| 2715 | 2714 | 7666.592912009551258627525 | 1.00073433906 |
| 2716 | 2715 | 7670.01373500656450348175 | 1.00074680363 |
| 2717 | 2716 | 7673.42147199239507302152 | 1.0007575267 |
| 2718 | 2717 | 7676.816250559162172742372 | 1.00076652717 |
| 2719 | 2718 | 7680.198253207506101559126 | 1.00077383108 |
| 2720 | 2719 | 7683.56771586405166602975 | 1.00077947136 |
| 2721 | 2720 | 7686.92492615808782068433 | 1.00078348762 |
| 2722 | 2721 | 7690.270221466584915296411 | 1.00078592589 |
| 2723 | 2722 | 7693.60398673776832431586 | 1.0007868383 |
| 2724 | 2723 | 7696.926652104513458250397 | 1.00078628277 |
| 2725 | 2724 | 7700.238690299817116588434 | 1.00078432264 |
| 2726 | 2725 | 7703.540613887529021886323 | 1.00078102633 |
| 2727 | 2726 | 7706.832972322390663596459 | 1.00077646693 |
| 2728 | 2727 | 7710.116348854222092758702 | 1.00077072179 |
| 2729 | 2728 | 7713.391357291817206095895 | 1.00076387209 |
| 2730 | 2729 | 7716.658638642750867146081 | 1.00075600241 |
| 2731 | 2730 | 7719.918857645863842244167 | 1.00074720024 |
| 2732 | 2731 | 7723.172699213671287649189 | 1.00073755554 |
| 2733 | 2732 | 7726.420864802335129122343 | 1.00072716027 |
| 2734 | 2733 | 7729.664068727148267185736 | 1.00071610788 |
| 2735 | 2734 | 7732.903034441697691750864 | 1.00070449285 |
| 2736 | 2735 | 7736.138490799003308560102 | 1.0006924102 |
| 2737 | 2736 | 7739.371168312969019571881 | 1.00067995499 |
| 2738 | 2737 | 7742.601795438432258086941 | 1.00066722186 |
| 2739 | 2738 | 7745.831094887958100830057 | 1.00065430454 |
| 2740 | 2739 | 7749.05978000329505096389 | 1.0006412954 |
| 2741 | 2740 | 7752.288551199092835431719 | 1.00062828497 |
| 2742 | 2741 | 7755.518092496079747840963 | 1.0006153615 |
| 2743 | 2742 | 7758.749068160410280025178 | 1.00060261057 |
| 2744 | 2743 | 7761.982119465325521594453 | 1.00059011463 |
| 2745 | 2744 | 7765.217861590621969142624 | 1.00057795263 |
| 2746 | 2745 | 7768.456880674702264456621 | 1.00056619964 |
| 2747 | 2746 | 7771.699731033187633859939 | 1.00055492651 |
| 2748 | 2747 | 7774.946932557210440796414 | 1.00054419953 |
| 2749 | 2748 | 7778.198968303580635167206 | 1.00053408016 |
| 2750 | 2749 | 7781.456282288036640418925 | 1.00052462471 |
| 2751 | 2750 | 7784.719277491754304687472 | 1.00051588413 |
| 2752 | 2751 | 7787.988314090202159546427 | 1.00050790378 |
| 2753 | 2752 | 7791.263707912302819557095 | 1.00050072326 |
| 2754 | 2753 | 7794.545729136694567497164 | 1.00049437622 |
| 2755 | 2754 | 7797.83460123068983442359 | 1.00048889029 |
| 2756 | 2755 | 7801.130500136304382997947 | 1.00048428692 |
| 2757 | 2756 | 7804.433553706488641135335 | 1.00048058139 |
| 2758 | 2757 | 7807.743841393437006914953 | 1.00047778274 |
| 2759 | 2758 | 7811.061394189588311316089 | 1.00047589378 |
| 2760 | 2759 | 7814.38619482066726865546 | 1.00047491116 |
| 2761 | 2760 | 7817.718178188858949650235 | 1.00047482538 |
| 2762 | 2761 | 7821.057232062962329678116 | 1.00047562095 |
| 2763 | 2762 | 7824.403198011140981605212 | 1.0004772765 |
| 2764 | 2763 | 7827.755872570685089961471 | 1.00047976493 |
| 2765 | 2764 | 7831.115008648025127322232 | 1.00048305362 |
| 2766 | 2765 | 7834.480317141099565503049 | 1.00048710463 |
| 2767 | 2766 | 7837.851468775082520656375 | 1.00049187498 |
| 2768 | 2767 | 7841.228096141427667751876 | 1.00049731686 |
| 2769 | 2768 | 7844.609795929187282643588 | 1.000503378 |
| 2770 | 2769 | 7847.996131336624790955846 | 1.00051000192 |
| 2771 | 2770 | 7851.38663465026034555269 | 1.00051712832 |
| 2772 | 2771 | 7854.780809977676029914367 | 1.0005246934 |
| 2773 | 2772 | 7858.178136119664271849856 | 1.00053263025 |
| 2774 | 2773 | 7861.578069566633576489674 | 1.00054086922 |
| 2775 | 2774 | 7864.980047603593004749692 | 1.00054933836 |
| 2776 | 2775 | 7868.383491507523802185853 | 1.00055796378 |
| 2777 | 2776 | 7871.787809820515691463986 | 1.00056667013 |
| 2778 | 2777 | 7875.192401681698634899749 | 1.00057538096 |
| 2779 | 2778 | 7878.596660200739984277067 | 1.00058401919 |
| 2780 | 2779 | 7881.999975855503065372315 | 1.00059250756 |
| 2781 | 2780 | 7885.401739896377159843601 | 1.00060076901 |
| 2782 | 2781 | 7888.801347739790872984507 | 1.00060872716 |
| 2783 | 2782 | 7892.198202333510896573106 | 1.00061630669 |
| 2784 | 2783 | 7895.591717476505635492524 | 1.00062343382 |
| 2785 | 2784 | 7898.981321076417071371443 | 1.00063003663 |
| 2786 | 2785 | 7902.36645832803316043267 | 1.00063604557 |
| 2787 | 2786 | 7905.746594796585155511147 | 1.00064139373 |
| 2788 | 2787 | 7909.121219390207238019725 | 1.00064601731 |
| 2789 | 2788 | 7912.489847206487075047673 | 1.00064985591 |
| 2790 | 2789 | 7915.852022238702320263174 | 1.00065285288 |
| 2791 | 2790 | 7919.207319928076220843149 | 1.00065495564 |
| 2792 | 2791 | 7922.555349549191585176484 | 1.00065611599 |
| 2793 | 2792 | 7925.895756416572278604085 | 1.00065629035 |
| 2794 | 2793 | 7929.22822390137070100019 | 1.00065544001 |
| 2795 | 2794 | 7932.552475248083620061149 | 1.00065353136 |
| 2796 | 2795 | 7935.868275182252276645836 | 1.00065053609 |
| 2797 | 2796 | 7939.175431301180586974064 | 1.00064643131 |
| 2798 | 2797 | 7942.47379524082206567117 | 1.00064119974 |
| 2799 | 2798 | 7945.763263613136117029826 | 1.00063482981 |
| 2800 | 2799 | 7949.043778709391760199597 | 1.00062731567 |
| 2801 | 2800 | 7952.31532896609570467101 | 1.00061865734 |
| 2802 | 2801 | 7955.577949191435909348135 | 1.00060886063 |
| 2803 | 2802 | 7958.831720551355202745501 | 1.00059793719 |
| 2804 | 2803 | 7962.076770315596032384534 | 1.00058590445 |
| 2805 | 2804 | 7965.313271365280756273204 | 1.00057278553 |
| 2806 | 2805 | 7968.541441464805916484025 | 1.00055860914 |
| 2807 | 2806 | 7971.761542302027523417144 | 1.00054340946 |
| 2808 | 2807 | 7974.973878301891490243028 | 1.00052722599 |
| 2809 | 2808 | 7978.178795219813063230989 | 1.00051010333 |
| 2810 | 2809 | 7981.376678522225609947778 | 1.00049209099 |
| 2811 | 2810 | 7984.567951562796839211037 | 1.00047324314 |
| 2812 | 2811 | 7987.753073563844018690403 | 1.00045361835 |
| 2813 | 2812 | 7990.932537413463838705173 | 1.00043327932 |
| 2814 | 2813 | 7994.106867289822306651883 | 1.00041229255 |
| 2815 | 2814 | 7997.276616124920784939771 | 1.00039072802 |
| 2816 | 2815 | 8000.442362920961645715067 | 1.00036865888 |
| 2817 | 2816 | 8003.604709933176969283546 | 1.00034616103 |
| 2818 | 2817 | 8006.764279733652563310999 | 1.0003233128 |
| 2819 | 2818 | 8009.921712171273990416493 | 1.00030019455 |
| 2820 | 2819 | 8013.077661243438303646273 | 1.00027688826 |
| 2821 | 2820 | 8016.2327918956122353943 | 1.00025347714 |
| 2822 | 2821 | 8019.387776765172503153806 | 1.00023004524 |
| 2823 | 2822 | 8022.543292886234937983652 | 1.000206677 |
| 2824 | 2823 | 8025.700018372364985749542 | 1.00018345686 |
| 2825 | 2824 | 8028.858629094161884621705 | 1.00016046882 |
| 2826 | 2825 | 8032.019795368722027472038 | 1.00013779609 |
| 2827 | 2826 | 8035.18417867791365430341 | 1.00011552061 |
| 2828 | 2827 | 8038.352428432235504316557 | 1.00009372268 |
| 2829 | 2828 | 8041.525178796787241172456 | 1.0000724806 |
| 2830 | 2829 | 8044.70304559555063037186 | 1.00005187023 |
| 2831 | 2830 | 8047.886623309769300245188 | 1.00003196465 |
| 2832 | 2831 | 8051.076482185723578789038 | 1.00001283385 |
| 2833 | 2832 | 8054.273165466627892848768 | 0.99999454429 |
| 2834 | 2833 | 8057.477186762734460850696 | 0.999977158693 |
| 2835 | 2834 | 8060.689027573011799147479 | 0.99996073567 |
| 2836 | 2835 | 8063.909134970983548895652 | 0.999945329469 |
| 2837 | 2836 | 8067.13791946646631072243 | 0.999930989718 |
| 2838 | 2837 | 8070.375753054038865203344 | 0.99991776119 |
| 2839 | 2838 | 8073.622967458113974958591 | 0.999905683597 |
| 2840 | 2839 | 8076.879852583472801923566 | 0.999894791405 |
| 2841 | 2840 | 8080.146655179065975646886 | 0.999885113687 |
| 2842 | 2841 | 8083.42357772178988559939 | 0.999876673987 |
| 2843 | 2842 | 8086.710777525817411325895 | 0.999869490228 |
| 2844 | 2843 | 8090.00836608190478824363 | 0.999863574641 |
| 2845 | 2844 | 8093.316408629916514972196 | 0.99985893372 |
| 2846 | 2845 | 8096.634923966614133185042 | 0.999855568214 |
| 2847 | 2846 | 8099.963884489548427737032 | 0.999853473143 |
| 2848 | 2847 | 8103.303216476684228982269 | 0.999852637845 |
| 2849 | 2848 | 8106.652800600178696711746 | 0.999853046051 |
| 2850 | 2849 | 8110.012472671533861221938 | 0.999854675985 |
| 2851 | 2850 | 8113.382024614158385212235 | 0.999857500502 |
| 2852 | 2851 | 8116.761205658208011658217 | 0.999861487241 |
| 2853 | 2852 | 8120.149723751434895947948 | 0.999866598809 |
| 2854 | 2853 | 8123.547247178668771269826 | 0.999872792996 |
| 2855 | 2854 | 8126.953406381483288651276 | 0.999880023003 |
| 2856 | 2855 | 8130.367795968574341242524 | 0.999888237701 |
| 2857 | 2856 | 8133.789976906398943024337 | 0.999897381912 |
| 2858 | 2857 | 8137.21947887869825792529 | 0.999907396701 |
| 2859 | 2858 | 8140.655802802661370343058 | 0.9999182197 |
| 2860 | 2859 | 8144.09842348868176367428 | 0.999929785435 |
| 2861 | 2860 | 8147.5467924299203262277 | 0.99994202568 |
| 2862 | 2861 | 8151.000340707220794865974 | 0.999954869816 |
| 2863 | 2862 | 8154.458481994329282422784 | 0.999968245206 |
| 2864 | 2863 | 8157.92061564785195018052 | 0.999982077575 |
| 2865 | 2864 | 8161.386129865946629209228 | 0.999996291405 |
| 2866 | 2865 | 8164.854404899387511430321 | 1.00001081033 |
| 2867 | 2866 | 8168.324816298368758292319 | 1.00002555753 |
| 2868 | 2867 | 8171.796738178224426166226 | 1.00004045613 |
| 2869 | 2868 | 8175.269546487139468839412 | 1.00005542962 |
| 2870 | 2869 | 8178.742622258910301229651 | 1.00007040223 |
| 2871 | 2870 | 8182.215354833883610768464 | 1.00008529933 |
| 2872 | 2871 | 8185.687145031358462939084 | 1.0001000478 |
| 2873 | 2872 | 8189.157408256978508848813 | 1.00011457645 |
| 2874 | 2873 | 8192.625577528967077346489 | 1.00012881633 |
| 2875 | 2874 | 8196.09110640746650804437 | 1.00014270113 |
| 2876 | 2875 | 8199.553471811732222768728 | 1.00015616749 |
| 2877 | 2876 | 8203.012176710499301778022 | 1.00016915531 |
| 2878 | 2877 | 8206.466752671481892286457 | 1.00018160811 |
| 2879 | 2878 | 8209.916762256680413708056 | 1.00019347325 |
| 2880 | 2879 | 8213.361801250954654522216 | 1.00020470223 |
| 2881 | 2880 | 8216.801500712168550238233 | 1.00021525093 |
| 2882 | 2881 | 8220.235528832120433303526 | 1.00022507982 |
| 2883 | 2882 | 8223.663592598436290192245 | 1.00023415415 |
| 2884 | 2883 | 8227.085439248618200957381 | 1.0002424441 |
| 2885 | 2884 | 8230.500857508500565546695 | 1.00024992498 |
| 2886 | 2885 | 8233.909678608467598773677 | 1.00025657727 |
| 2887 | 2886 | 8237.311777071921354669206 | 1.00026238676 |
| 2888 | 2887 | 8240.707071271654494580879 | 1.00026734458 |
| 2889 | 2888 | 8244.095523750970265025624 | 1.00027144722 |
| 2890 | 2889 | 8247.477141307597703251749 | 1.00027469656 |
| 2891 | 2890 | 8250.851974839666852279707 | 1.00027709983 |
| 2892 | 2891 | 8254.220118954230594230489 | 1.00027866952 |
| 2893 | 2892 | 8257.5817113400404230818 | 1.00027942334 |
| 2894 | 2893 | 8260.936931907496899426344 | 1.00027938407 |
| 2895 | 2894 | 8264.286001699895516947118 | 1.00027857944 |
| 2896 | 2895 | 8267.629181581269183458516 | 1.00027704195 |
| 2897 | 2896 | 8270.966770707283493041714 | 1.00027480868 |
| 2898 | 2897 | 8274.299104786764578965566 | 1.00027192107 |
| 2899 | 2898 | 8277.626554142525882557668 | 1.00026842466 |
| 2900 | 2899 | 8280.949521581204126436145 | 1.00026436887 |
| 2901 | 2900 | 8284.26844008281082746498 | 1.00025980666 |
| 2902 | 2901 | 8287.583770321648748652361 | 1.00025479426 |
| 2903 | 2902 | 8290.895998031127956047295 | 1.0002493908 |
| 2904 | 2903 | 8294.20563122583908975909 | 1.00024365806 |
| 2905 | 2904 | 8297.513197294997860834567 | 1.00023766 |
| 2906 | 2905 | 8300.819239982060762565954 | 1.00023146247 |
| 2907 | 2906 | 8304.124316265924001609433 | 1.00022513282 |
| 2908 | 2907 | 8307.428993159652545787488 | 1.00021873948 |
| 2909 | 2908 | 8310.733844443141171401589 | 1.00021235159 |
| 2910 | 2909 | 8314.039447346482092283528 | 1.00020603859 |
| 2911 | 2910 | 8317.346379201102196028631 | 1.00019986982 |
| 2912 | 2911 | 8320.655214075935551731424 | 1.00019391414 |
| 2913 | 2912 | 8323.966519416012569416841 | 1.00018823946 |
| 2914 | 2913 | 8327.280852700875300897512 | 1.00018291241 |
| 2915 | 2914 | 8330.598758140168630670835 | 1.00017799793 |
| 2916 | 2915 | 8333.920763423609709869349 | 1.00017355884 |
| 2917 | 2916 | 8337.247376542303572128946 | 1.00016965553 |
| 2918 | 2917 | 8340.579082698052510312621 | 1.00016634552 |
| 2919 | 2918 | 8343.916341316901991814779 | 1.0001636832 |
| 2920 | 2919 | 8347.25958318267857660847 | 1.00016171939 |
| 2921 | 2920 | 8350.60920770570782026045 | 1.00016050109 |
| 2922 | 2921 | 8353.965580341255241356927 | 1.00016007118 |
| 2923 | 2922 | 8357.329030171514246733425 | 1.00016046808 |
| 2924 | 2923 | 8360.699847664174950745107 | 1.00016172556 |
| 2925 | 2924 | 8364.07828261975096594752 | 1.00016387246 |
| 2926 | 2925 | 8367.464542318921689481111 | 1.00016693248 |
| 2927 | 2926 | 8370.858789880169886930143 | 1.00017092403 |
| 2928 | 2927 | 8374.261142836963303056146 | 1.00017586003 |
| 2929 | 2928 | 8377.671671942649697106633 | 1.00018174779 |
| 2930 | 2929 | 8381.090400210112445533599 | 1.00018858892 |
| 2931 | 2930 | 8384.517302192074232212616 | 1.00019637925 |
| 2932 | 2931 | 8387.952303506745102427829 | 1.00020510877 |
| 2933 | 2932 | 8391.395280612294201692903 | 1.00021476164 |
| 2934 | 2933 | 8394.846060832387897126801 | 1.00022531617 |
| 2935 | 2934 | 8398.304422633786834217457 | 1.00023674491 |
| 2936 | 2935 | 8401.770096155737034792471 | 1.00024901468 |
| 2937 | 2936 | 8405.242763989631654066926 | 1.00026208672 |
| 2938 | 2937 | 8408.722062206166757514299 | 1.00027591676 |
| 2939 | 2938 | 8412.207581625972703049237 | 1.00029045525 |
| 2940 | 2939 | 8415.698869328478619750714 | 1.00030564752 |
| 2941 | 2940 | 8419.195430392567177361199 | 1.00032143398 |
| 2942 | 2941 | 8422.696729861406343937011 | 1.00033775039 |
| 2943 | 2942 | 8426.202194922709991764124 | 1.00035452812 |
| 2944 | 2943 | 8429.711217294585720772951 | 1.00037169444 |
| 2945 | 2944 | 8433.223155806081609841205 | 1.00038917282 |
| 2946 | 2945 | 8436.73733916054903665054 | 1.0004068833 |
| 2947 | 2946 | 8440.253068869001228357713 | 1.00042474282 |
| 2948 | 2947 | 8443.769622339771540508459 | 1.00044266559 |
| 2949 | 2948 | 8447.286256109966029003855 | 1.00046056348 |
| 2950 | 2949 | 8450.802209203465772389768 | 1.00047834644 |
| 2951 | 2950 | 8454.316706599569365820294 | 1.0004959229 |
| 2952 | 2951 | 8457.828962795778425131568 | 1.00051320019 |
| 2953 | 2952 | 8461.338185447721808767537 | 1.00053008498 |
| 2954 | 2953 | 8464.843579068790188749705 | 1.00054648371 |
| 2955 | 2954 | 8468.344348771713770970698 | 1.00056230305 |
| 2956 | 2955 | 8471.839704034064149772346 | 1.00057745034 |
| 2957 | 2956 | 8475.328862469497821453959 | 1.00059183401 |
| 2958 | 2957 | 8478.811053586484678046298 | 1.00060536405 |
| 2959 | 2958 | 8482.285522516280316281524 | 1.00061795244 |
| 2960 | 2959 | 8485.751533692006242499003 | 1.00062951356 |
| 2961 | 2960 | 8489.208374460896602693235 | 1.00063996465 |
| 2962 | 2961 | 8492.655358612053045545666 | 1.00064922617 |
| 2963 | 2962 | 8496.091829802419423811902 | 1.00065722224 |
| 2964 | 2963 | 8499.517164864143512126674 | 1.00066388101 |
| 2965 | 2964 | 8502.930776977031599431526 | 1.00066913502 |
| 2966 | 2965 | 8506.33211869042112073406 | 1.00067292153 |
| 2967 | 2966 | 8509.720684779493443955805 | 1.00067518289 |
| 2968 | 2967 | 8513.096014921820155326483 | 1.0006758668 |
| 2969 | 2968 | 8516.457696180777953745703 | 1.00067492663 |
| 2970 | 2969 | 8519.805365283375482288942 | 1.00067232164 |
| 2971 | 2970 | 8523.13871068100567420297 | 1.00066801724 |
| 2972 | 2971 | 8526.457474382664742845792 | 1.00066198516 |
| 2973 | 2972 | 8529.761453551258785878636 | 1.00065420368 |
| 2974 | 2973 | 8533.050501854745828472835 | 1.0006446577 |
| 2975 | 2974 | 8536.324530565029488363382 | 1.00063333893 |
| 2976 | 2975 | 8539.583509398724589687812 | 1.00062024592 |
| 2977 | 2976 | 8542.827467095149085833301 | 1.00060538415 |
| 2978 | 2977 | 8546.056491728154527027537 | 1.00058876602 |
| 2979 | 2978 | 8549.270730749682859062025 | 1.00057041089 |
| 2980 | 2979 | 8552.470390764224308652633 | 1.00055034498 |
| 2981 | 2980 | 8555.655737034643183256205 | 1.00052860135 |
| 2982 | 2981 | 8558.827092721129246116034 | 1.00050521976 |
| 2983 | 2982 | 8561.984837856315582489734 | 1.00048024656 |
| 2984 | 2983 | 8565.129408060873247570309 | 1.00045373452 |
| 2985 | 2984 | 8568.261293005142244505357 | 1.00042574264 |
| 2986 | 2985 | 8571.381034623581383838005 | 1.00039633592 |
| 2987 | 2986 | 8574.489225090010313487347 | 1.00036558514 |
| 2988 | 2987 | 8577.586504562769628870693 | 1.00033356653 |
| 2989 | 2988 | 8580.673558710033810742052 | 1.00030036154 |
| 2990 | 2989 | 8583.751116026571343652244 | 1.00026605647 |
| 2991 | 2990 | 8586.819944954251532595232 | 1.00023074212 |
| 2992 | 2991 | 8589.880850819543319283405 | 1.00019451347 |
| 2993 | 2992 | 8592.934672602133154896432 | 1.00015746925 |
| 2994 | 2993 | 8595.982279549602380833614 | 1.00011971158 |
| 2995 | 2994 | 8599.024567653845607657016 | 1.00008134549 |
| 2996 | 2995 | 8602.062456005576626459991 | 1.00004247856 |
| 2997 | 2996 | 8605.096883043854172508536 | 1.00000322045 |
| 2998 | 2997 | 8608.128802718063515280225 | 0.999963682451 |
| 2999 | 2998 | 8611.159180580208904213976 | 0.999923977006 |
| 3000 | 2999 | 8614.188989825704305188221 | 0.999884217289 |
| 3001 | 3000 | 8617.2192073010939960648 | 0.999844516714 |
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())