How would one calculate $6000006000600000600006006000000003 \times 3 \pmod{18}$?
The number is too big to use a calculator to manipulate the number into something I can work with, and Fermat's theorem doesn't apply since $18$ isn't prime, so I'm stumped as to what to do.
echo '6000006000600000600006006000000003 * 3 % 18' | bc
orpython -c 'print 6000006000600000600006006000000003 * 3 % 18'
$\endgroup$