"Vestanam," which means "By Osculation," is a powerful technique for divisibility tests, especially for prime numbers. It allows us to break down a large number into a smaller one that's easier to check.
To test divisibility, we repeatedly multiply the last digit of our number by a special number (the "osculator") and add/subtract it from the rest of the number.
Enter a number and a divisor (ending in 1, 3, 7, or 9) to test for divisibility.