Divisors#1569

Divisors

1 segundo
128 megabytes
Muy fácil (≈850)

Let be the number of divisors of . Given two integers and (a \leq b), calculate the sum f(a) + f(a + 1) + \ldots + f(b).

Entrada

Each line contains two integers and (1 \leq a \leq b \leq 2^{31} - 1). The last line contains a = b = 0 and is not processed.

Salida

For each test case, print the value of f(a) + f(a + 1) + \ldots + f(b) on a separate line.

Ejemplos

Ejemplo 1

Loading
Loading