I was hoping someone could review my proof, thanks!
Question: For any integer $a$, $a$$^{37}$ $\equiv$ $a$ (mod 1729)
Proof:
Note first that 1729 = 7 * 13 * 19.
Then we have $a$$^{37}$ $\equiv$ $a$ mod 1729 if and only if the following set of equations all hold true for $a$:
$a$$^{37}$ $\equiv$ $a$ mod 7
$a$$^{37}$ $\equiv$ $a$ mod 13
$a$$^{37}$ $\equiv$ $a$ mod 19
For a proof of the reverse direction of the above if and only if statement, consider that if $a$ satisfies all 3 equations, then since all 3 numbers are relatively prime we have $a$$^{37}$ $\equiv$ $a$ mod lcm(7,13,19) = 1729.
Hence note that by Eulers Theorem we have a$^{\phi(7)}$ = a$^6$ $\equiv$ 1 mod 7, which implies a$^{37}$ $\equiv$ $a$ mod 7, for all $a$ such that gcd($a$,7) = 1. Similarly we have $a$$^{37}$ $\equiv$ $a$ mod 13 and $a$$^{37}$ $\equiv$ $a$ mod 19. Hence when $a$ satisfies the condition gcd($a$,7) = gcd($a$,13) = gcd($a$,19) = 1, then $a$$^{37}$ holds.
Suppose $a$ is divisible by either 7, 13, or 19. Then WLOG suppose $a$ $\equiv$ 0 mod 7. a$^{37}$ $\equiv$ $a$ mod 1729 if and only if the above 3 equations hold. The first equation holds as 0$^{37}$ $\equiv$ 0 mod 7. The other 2 equations also hold as gcd(7,13) = 1 and gcd(7,19) = 1, so Euler's Theorem still applies in those cases. Hence the original claim holds for all a $\in$ $\mathbb{Z}$.