This is a short program to calculate permutable primes. The interesting element in this was to find a method that would generate all the permutations of a number.