Recursive Digit Sum

  • + 0 comments

    You should multiply this string n by k. So it is gonna be "148148148" not just "148". So basically (1+4+8) * 3 = 39 => 3+9=12 => 1+2 = 3