We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #168: Number Rotations
You are viewing a single comment's thread. Return to all 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.