I was messing around with the prime counting function $\pi(n)$ because I was bored, but then I noticed something.
The equation $$\pi\left(\sum_{i=1}^{n}\pi(i)\right)-1=n,$$ has the solution $n=13$. Are there any numbers like $13$ that satisfy this equation? Is there a way of finding like values? Has this been discovered before?
If it can be proven that $13$ is the only number (let alone prime) with this property, I will feel like Ulam after discovering upon the famous prime spiral. It is otherwise my conjecture as I am unaware of anyone else finding out this property.
for (i = 1, 1000,if(primepi(sum( k=1, i, primepi(k)))==i+1,print(i)))
– Apr 09 '18 at 10:31