GO Solution For UVa 10042 - Smith Numbers. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University, noticed that the telephone number of his brother-in-law H. Smith had the following peculiar property: The sum of the digits of that number was equal to the sum of the digits of the prime factors of tha


You can find the full details of the problem Smith Numbers at UVa Online Judge

Sample Input


Sample Output


Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985