GO Solution For UVa 10235 - Simply Emirp. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

An integer greater than 1 is called a prime number if its only positive divisors (factors) are 1 and itself. Prime numbers have been studied over the years by a lot of mathematicians. Applications of prime numbers arise in Cryptography and Coding Theory among others.

Have you tried reversing a prim


You can find the full details of the problem Simply Emirp at UVa Online Judge

Sample Input


Sample Output

17 is emirp.
18 is not prime.
19 is prime.
179 is emirp.
199 is emirp.

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

Solution originally posted at: Github by @codingsince1985