Germany Maths Olympiad questions of mathematics|| how to solve the value of p

Germany Maths Olympiad questions of mathematics|| how to solve the value of p