atcoder#ARC091B. [ABC090D] Remainder Reminder
[ABC090D] Remainder Reminder
Score : points
Problem Statement
Takahashi had a pair of two positive integers not exceeding , , which he has forgotten. He remembers that the remainder of divided by was greater than or equal to . Find the number of possible pairs that he may have had.
Constraints
- All input values are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of possible pairs that he may have had.
5 2
7
There are seven possible pairs: and .
10 0
100
31415 9265
287927211