#abc227c. [abc227_c]ABC conjecture
[abc227_c]ABC conjecture
Problem Statement
You are given a positive integer .
Find the number of triples of positive integers such that and .
The Constraints guarantee that the answer is less than .
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
5
There are five such triples: .
Sample Input 2
100
Sample Output 2
323
Sample Input 3
100000000000
Sample Output 3
5745290566750