Hackerrank optimizing euler problem #1

:waving_hand:

Tasks seem unnecessary here. They probably cost more than the value they add over sequentially calling dividedSum/2.