Project Euler #168: Number Rotations

  • + 0 comments

    If 495 is the result of the scenario when n=2 and the constituent numbers are 11,22,33,44,55,66,77,88,99 then... How are 22,33,44,55,66,77,88,99 special numbers? Obviously 11 is... (1 * 10) + 1 = 1 * (1 * 10) + 1 But take 22 for instance: 22 is (2 * 10) + 2 != 2 * (2 * 10) + 2 By my understanding 22 is not a special number, neither are 33,44,...,99.