Testing divisibility
with regular expressions
Warning: big numbers might lock up your browser.