\section*{Solution}
Suppose the digits are a1,a2,a3,a4,a5,a6 and that a1a2a3a4a5a6 is divisible by 37 . We claim that a2a3a4a5a6a1 is also divisible by 37. Put n=a2a3a4a5a6a and m=a1. The original number is 105 m+n and the derived number is 10n+m. But 37 divides 103−1 and hence also 106−1 and m(106−1). So it also divides 10(105 m+n)−m(106−1)=10n+m, which proves the claim
Iterating, we get the original number and 5 others:
```
a
a}2\mp@subsup{a}{4}{}\mp@subsup{a}{5}{}\mp@subsup{a}{6}{}\mp@subsup{a}{1}{
a3a
a
a}\mp@subsup{}{6}{*
a
```
Similarly, we have that a1a2a3a4a5a6−a1a2a6a4a5a3=(a6−a3)999, so a1a2a6a4a5a3 is also divisible by 37 . Iterating we get:
a1a2a6a4a5a3
a2a6a4a5a3a1
a6a4a5a3a1a2
a4a5a3a1a2a6
a5a3a1a2a6a4
a3a1a2a6a4a5
Similarly, we could swap the first term and the fourth to get:
```
a}4\mp@subsup{}{2}{* a
a
a3a
a
a
a
```
or the second and the fifth to get:
a1a5a3a4a2a6
a5a3a4a2a6a1
a3a4a2a6a1a5
a4a2a6a1a5a3
a2a6a1a5a3a4
a6a1a5a3a4a2