An approximate sum of prime numbers smaller than a given number 'n' can be found by the following formula $$\frac{n^{2}}{4\log_{2.75+\frac{0.325}{\log_{5}(\sqrt{n})}}(\sqrt{n})}$$ for example if n=1000,my formula will give value 77425, or another example, if n = 50021 will give value 120958226 (the real sum should be 120811273) I have a few questio,the first how the formula behaves with very large numbers,the second, is there a formula with a better approximate value and the third question (for enthusiasts) is, the approximate sum of prime numbers less than a million, by my formula is 37594116211,, which is the real result, and what is the value of the error
Asked
Active
Viewed 257 times
0
For $10^7$ 3203334994375 vs 3210454595322 with error 7119600947 (0.2222%)
For $10^8$ 279209890387283 vs 280131327310962 with error 921436923679 (0,32%)
– pietfermat May 12 '21 at 17:56