Fast Ramanujan--type Series for Logarithms. Part II
Pith reviewed 2026-05-19 10:25 UTC · model grok-4.3
The pith
By solving an integer programming problem over a finite lattice Z^n, this paper derives optimal linear combinations of Ramanujan-type series for computing n logarithms simultaneously.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Formulas for n simultaneous logarithms are developed by solving an integer programming problem to identify optimal variable values within a finite lattice Z^n, yielding linear combinations of series that provide highly efficient formulas for single logarithms of natural numbers (some tested to more than 10^11 decimal places) and the fastest known hypergeometric formulas for multivalued logarithms of n selected integers in Z>1.
What carries the argument
The integer programming problem solved over the finite lattice Z^n that selects optimal coefficients for linear combinations of Ramanujan-type series, guided by the O((p-1)^6) asymptotic approximation for log(p) as p approaches 1.
If this is right
- Highly efficient formulas for single logarithms of natural numbers, with some verified beyond 10^11 decimal places.
- Fastest known hypergeometric formulas for multivalued logarithms of n selected integers.
- Novel formulas for arctangents derived alongside the logarithm results.
- Direct application that extended the known decimal places of log(10) to 2.0 times 10^12 digits.
Where Pith is reading between the lines
- The lattice optimization approach could be tested on series for other constants such as pi to see if similar speed gains appear.
- These multiseries might reduce the computational cost of high-precision tasks that rely on repeated logarithm evaluations.
- The method opens a route to compare hypergeometric performance against non-hypergeometric log algorithms on equal footing.
Load-bearing premise
The O((p-1)^6) Ramanujan-type series asymptotic approximation for log(p) as p approaches 1 is sufficiently accurate to guide the integer programming search for optimal coefficients that produce convergent and efficient multiseries.
What would settle it
A benchmark that measures the number of terms or arithmetic operations required by one of the derived multiseries to reach 1000 correct decimals of log(10) and shows it is slower than a standard alternative method would falsify the efficiency claim.
read the original abstract
This work extends the results of the preprint Ramanujan type Series for Logarithms, Part I, arXiv:2506.08245, which introduced single hypergeometric type identities for the efficient computing of $\log(p)$, where $p\in\mathbb{Z}_{>1}$. We present novel formulas for arctangents and methods for a very fast multiseries evaluation of logarithms. Building upon a $\mathcal{O}((p-1)^{6})$ Ramanujan type series asymptotic approximation for $\log(p)$ as $p\rightarrow1$, formulas for computing $n$ simultaneous logarithms are developed. These formulas are derived by solving an integer programming problem to identify optimal variable values within a finite lattice $\mathbb{Z}^{n}$. This approach yields linear combinations of series that provide: (i) highly efficient formulas for single logarithms of natural numbers (some of them were tested to get more than $10^{11}$ decimal places) and (ii) the fastest known hypergeometric formulas for multivalued logarithms of $n$ selected integers in $\mathbb{Z}_{>1}$. An application of these results was to extend the number of decimal places known for log(10) up to 2.0$\cdot$10$^{12}$ digits (June 06 2025).
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript extends the authors' prior work (arXiv:2506.08245) on Ramanujan-type hypergeometric series for single logarithms. It develops formulas for n simultaneous logarithms by solving an integer programming problem over the lattice Z^n to select coefficients for linear combinations of series; the search is guided by an O((p-1)^6) asymptotic approximation for log(p) as p approaches 1. The resulting identities are claimed to yield highly efficient single-logarithm formulas (some verified to >10^11 decimal places) and the fastest known hypergeometric expressions for multivalued logarithms, with a concrete application to a record computation of log(10) to 2.0·10^12 digits.
Significance. If the claimed identities are correct, the work supplies new, computationally superior hypergeometric series for logarithms and demonstrates their practical utility through extreme-precision numerical checks and a record-setting evaluation. The integer-programming discovery method is a notable methodological contribution that could be applied to other special-function identities. The empirical evidence—direct high-precision summation and independent verification—provides substantial support for the central claims.
major comments (1)
- [§3 (Integer Programming Search)] The manuscript states that the O((p-1)^6) asymptotic is used only to prune the integer-programming search and that final identities are validated by direct summation; however, §3 (or the section describing the search procedure) should explicitly state the precise objective function, convergence constraints, and termination criteria of the integer program so that the selection of coefficients can be reproduced independently of the asymptotic.
minor comments (3)
- [Abstract] The abstract refers to 'Part I' but does not briefly recap the single-logarithm identities obtained there; a one-sentence summary would improve readability for readers who have not yet consulted the earlier preprint.
- [Numerical Examples] Table or figure presenting the new multiseries formulas would benefit from an additional column listing the observed number of terms required to reach a given precision, allowing direct comparison with earlier methods.
- [Throughout] A few typographical inconsistencies appear in the notation for the hypergeometric parameters (e.g., the placement of the upper index in the Pochhammer symbols); these should be standardized throughout.
Simulated Author's Rebuttal
We are grateful to the referee for the careful review and the constructive comment on improving the reproducibility of our methods. We address the major comment below.
read point-by-point responses
-
Referee: [§3 (Integer Programming Search)] The manuscript states that the O((p-1)^6) asymptotic is used only to prune the integer-programming search and that final identities are validated by direct summation; however, §3 (or the section describing the search procedure) should explicitly state the precise objective function, convergence constraints, and termination criteria of the integer program so that the selection of coefficients can be reproduced independently of the asymptotic.
Authors: We agree that to allow full reproducibility of the search procedure, the manuscript should provide more explicit details on the integer program. In the revised version, we will clarify in the relevant section the exact objective function used in the optimization, the convergence constraints imposed on the series, and the criteria for terminating the search. This will enable independent verification of the coefficient selection process, separate from the use of the asymptotic approximation for pruning. The final identities remain validated through direct high-precision summation as originally stated. revision: yes
Circularity Check
No significant circularity; derivation self-contained via explicit search and independent verification
full rationale
The central construction solves an integer programming problem over the finite lattice Z^n to locate coefficients for linear combinations of Ramanujan-type hypergeometric series. The O((p-1)^6) asymptotic serves only to prune the search space; candidate series are then inserted into explicit forms and confirmed by direct high-precision summation to >10^11 digits plus an independent record computation of log(10) to 2e12 places. These numerical verifications stand apart from the search heuristic. Extension of the author's prior preprint (Part I) supplies background series but does not carry the load for the new multiseries identities, which remain falsifiable outside the fitting process.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption The O((p-1)^6) Ramanujan-type series provides a usable asymptotic approximation for log(p) near p=1
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel echoes?
echoesECHOES: this paper passage has the same mathematical shape or conceptual pattern as the Recognition theorem, but is not a direct formal dependency.
Building upon a O((p-1)^6) Ramanujan type series asymptotic approximation for log(p) as p→1, Eq.(45) Part I, formulas for computing n simultaneous logarithms are developed. These formulas are derived by solving an integer programming problem to identify optimal variable values within a finite lattice Z^n.
-
IndisputableMonolith/Foundation/ArithmeticFromLogic.leanembed_injective unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The Monte Carlo method employs the LLL lattice reduction algorithm (via PARI’s lindep function) with fine-tuned internal precision to capture feasible solutions
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
Fast multiple precision exp(x) with precomputa- tions
Joris van der Hoeven, Fredrik Johansson. Fast multiple precision exp(x) with precomputa- tions. 2024 IEEE 31st Symposium on Computer Arithmetic (ARITH), Jun 2024, Malaga, Spain. pp.8087 ( :1:)
work page 2024
-
[2]
Rigorous high-precision computation of the Hurwitz zeta function and its derivatives
Fredrik Johansson. Rigorous high-precision computation of the Hurwitz zeta function and its derivatives, arXiv:1309.2877v1 [cs.SC] (2013) ( :2:)
work page internal anchor Pith review Pith/arXiv arXiv 2013
-
[3]
An html documentation of functions available under the GP/PARI Calculator Version 2.18.0 (2024) ( :3a:) ( :3b:)
work page 2024
-
[4]
D. Ge, Q. Huangfu, Z. Wang, J. Wu and Y. Ye. Cardinal Optimizer (COPT) user guide, (2023) ( :4:)
work page 2023
-
[5]
B. Conrey, M. Holmstrom, T. McLaughlin, Smooth neighbors, arXiv:1212.5161v1 [math.NT] (2012) ( :5:)
work page internal anchor Pith review Pith/arXiv arXiv 2012
-
[6]
Computing elementary functions using multi-prime argument reduction
Fredrik Johansson. Computing elementary functions using multi-prime argument reduction. arXiv:2207.02501 [math.NA] (2022) ( :6:)
-
[7]
Fast algorithms for computing exp, ln, sin, cos at medium precision
Arnold Sch¨ onhage. Fast algorithms for computing exp, ln, sin, cos at medium precision. Thomas Lickteig, Klaus Meer, Luis Miguel Pardo, Eds. 04061 Abstracts Collection, Real Computation & Complexity. Schloss Dagstuhl Leibniz-Zentrum f¨ ur Informatik (2006) (:7:)
work page 2006
-
[8]
Fast medium precision computation of elementary functions, 2011
Arnold Sch¨ onhage. Fast medium precision computation of elementary functions, 2011. RISC seminar ( :8:)
work page 2011
-
[9]
FLINT : Fast Library for Number Theory (2024) ( :9a:) ( :9b:)
Fredrik Johansson. FLINT : Fast Library for Number Theory (2024) ( :9a:) ( :9b:)
work page 2024
-
[10]
F. Luca and F. Najman. On the largest prime factor of x2−1. Mathematics of Computation, 80(273):429–435, (2010).( :10:)
work page 2010
- [11]
- [12]
-
[13]
(Cornell University, SysEn 5800 Fall 2020) ( :13:)
Siegmundt L., Haddad P., Babbington C., Boisvert J., Shaikh H., Branch and Cut. (Cornell University, SysEn 5800 Fall 2020) ( :13:)
work page 2020
-
[14]
T. Achterberg. SCIP: solving constraint integer programs. Mathematical Programming Computation, 1(1):1–41, (2009) ( :14a:), (2024) ( :14b:)
work page 2009
-
[15]
Q. Huangfu, J. A. Hall, Parallelizing the dual revised simplex method, Mathematical Pro- gramming Computation, 10 (1), 119-142 (2018) ( :15:)
work page 2018
-
[16]
Mosek ApS, Mosek Modelling CookBook, Release 3.3.0 (2024) ( :16a:) ( :16b:)
work page 2024
-
[17]
F. Luca and F. Najman. Errata to “On the largest prime factor of x2−1. Mathematics of Computation, 83(285):337–337, (2013) ( :17:)
work page 2013
-
[18]
A. K. Lenstra, H. W. Lenstra, L. Lov´ asz, Factoring polynomials with rational coefficients, Mathematische Annalen 261 (4) (1982) 515–534. doi:10.1007/BF01457454
-
[19]
Chudnovsky, David; Chudnovsky, Gregory, Approximation and complex multiplication ac- cording to Ramanujan, Ramanujan revisited: proceedings of the centenary conference (1988)
work page 1988
-
[20]
Numberworld Formulas & Algorithms (2023) ( :20:)
Alex Yee. Numberworld Formulas & Algorithms (2023) ( :20:)
work page 2023
-
[21]
y-cruncher Machin type formulas
Alex Yee. y-cruncher Machin type formulas. Personal Communication. (2025)
work page 2025
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.