Limit of Barrett’s prime-counting formula to the prime number theorem
Determine whether there exists a limiting process applied to the Barrett prime-counting series Barr(n)—defined as 3 plus the sum from k = 5 to n − 1 of sin(pi*(k − 1)!/k) divided by sin(pi/k)—that yields the prime number theorem asymptotic for the prime-counting function, namely pi(n) ~ n / ln(n), as n tends to infinity.
Sponsor
References
I end with a problem (or exercise). Is it possible to find a limit to Barrett's formula that achieves asymptotic formula (1)?
— The strange story of an almost unknown prime number counter: The Rafael Barrett formula
(2509.19324 - Mizraji, 12 Sep 2025) in End of main text, immediately before 'APPENDIX: Proof of Barrett's formula'