#abc254d. [abc254_d]Together Square
[abc254_d]Together Square
Problem Statement
You are given an integer . Find the number of pairs of positive integers at most that satisfy the following condition:
- is a square number.
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
4
Sample Output 1
6
The six pairs satisfy the condition.
On the other hand, does not, since is not a square number.
Sample Input 2
254
Sample Output 2
896