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