Recursive Digit Sum

  • + 1 comment

    If the remainder is zero( when we perform (n*k)%9) it means the sum of digits is 9.