I saw a beautiful result in Wikipedia which was proved by Euler; but I do not know how it can be proved:
$$\pi =1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} - \frac{1}{5} + \frac{1}{6} + \frac{1}{7} + \frac{1}{8} + \frac{1}{9} - \frac{1}{10} + \frac{1}{11} + \frac{1}{12} - \frac{1}{13} + \cdots $$
After the first two terms, the signs are determined as follows: If the denominator is a prime of the form $4m - 1$, the sign is positive; if the denominator is a prime of the form $4m + 1$, the sign is negative; for composite numbers, the sign equals the product of the signs of its factors.
There is reference in this Wikipedia page to Carl B. Boyer's A History of Mathematics, Chapter 21., p. 488-489. I found the book on the internet but there is no proof in the book.
Thanks a lot for your help.