Today, most modern number theory textbooks present a few
divisibility tests and explain why they work; a quick search on the Internet
uncovers many articles that treat divisibility by the numbers 2 – 12, and a
few that address divisibility by the primes 13, 17, and 19.