Problems
Sum of inverse squares
Sum of inverse squares
Given value of n, find the sum
Input
One positive integer n (n ≤ 109
).
Output
Print the value of the sum with 6 decimal digits.
Input example #1
2
Output example #1
1.250000
Input example #11
1234567
Output example #11
1.644933