DivisorInc

Can anyone help me solve this problem…??

https://community.topcoder.com/stat?c=problem_statement&pm=6186&rd=9823