## Editorial for HHPC1 P4 - Yet Another A+B Problem

Remember to use this editorial

**only**when stuck, and**not to copy-paste code from it**. Please be respectful to the problem author and editorialist.**Submitting an official solution before solving the problem yourself is a bannable offence.**Author:

The answer for some is equal to where is the divisor function.

## Proof

Rearrange the equation as follows:Using Simon's Favourite Factoring Trick:

From here its obvious the answer is just the number of factors of

Time Complexity:

## Comments