https://codetofun.com/c-sharp/smith-number/
C