9467: ABC214 —— B - How many?
[Creator : ]
Description
How many triples of non-negative integers $(a, b, c)$ satisfy $a+b+c \leq S$ and $a \times b \times c \leq T$?
Input
Input is given from Standard Input in the following format:
```
$S$ $T$
```
```
$S$ $T$
```
Output
Print the number of triples of non-negative integers $(a,b,c)$ satisfying the conditions.
Constraints
- $0 \leq S \leq 100$
- $0 \leq T \leq 10000$
- $S$ and $T$ are integers.
- $0 \leq T \leq 10000$
- $S$ and $T$ are integers.
Sample 1 Input
1 0
Sample 1 Output
4
The triples (a,b,c) satisfying the conditions are (0,0,0), (0,0,1), (0,1,0), and (1,0,0) ― there are four of them.
Sample 2 Input
2 5
Sample 2 Output
10
Sample 3 Input
10 10
Sample 3 Output
213
30 100
2471