hamster143 said:
It would do you good to observe that all six of these permutations are divisible by 3.
You could then try to generalize that observation.
I'm not sure why this is of any use and would do me good but I will go ahead and generalize it.
Any (base 10) number whose digits are the permutation of the digits of a number which is divisible by 3 is divisible by 3. I will leave it up to the reader to prove that any permutation can be represented by a series of permutations which simply swap 2 items. Suppose you have a number n and you flip the p and q digits and they're corresponding values are a and b. The resulting number will be
[tex]n+a\cdot10^q-b\cdot10^q+b\cdot10^p-a\cdot10^p=n+a(10^q-10^p)-b(10^q-10^p)[/tex].
We can arbitralily say p<q so we can write the number as
[tex]n+a\cdot10^p(10^{q-p}-1)-b\cdot10^p(10^{q-p}-1)[/tex].
It is easy to see that that [tex]10^{q-p}-1[/tex] is divisible by 3 so the new number is the sum of terms which are all divisible by 3 and so is divisible by 3.
It follow that if you take the numbers from 1 to 3n and concatenate their digits in some order the resulting number is divisible by 3. This is true for n=1 simply by checking. Assume it is true for some k. We only have to show that the next 3 numbers concatenated to the end of any permutation of the numbers up to 3k in counting order is divisible by 3. Now it is easy to see that 3n-1, 3n-2, and 3n all have the same number of digits. If one had more digits than the others (either 3n-1 or 3n-2), then a number smaller than it would be of the form
[tex]10^p-1[/tex] for some p. However, this number is divisible by 3 and so could not be 3n-1 or 3n-2. Let s be the number of digits of 3(k+1) and r be a permutation of the numbers up to 3k. Now consider the number
[tex]r\cdot10^{3s}+(3n-2)10^{2s}+(3n-1)10^{s}+3n=r\cdot10^{3s}+3n10^{2s}+3n10^s+3n-(2\cdot10^s+1)10^s[/tex].
This number is a permutation of the numbers from 1 to 3(k+1). Since 21 is divisible by 3 and by the previous proof 2 followed by s zeros followed by 1 is divisible by 3. Therefore this permutation is the sum of numbers divisible by 3 and is divisible by 3. By induction, the proof is complete.
It follows that no permutation of the 2010 numbers is prime.