I am investigating math in the dozenal (a.k.a. duodecimal, base-twelve) system. As part of this, I am compiling a list of tests for divisibility. (All numbers in this post are dozenal, not decimal, unless otherwise noted.)
For example, to test if a number is divisible by eight:
- All powers of a dozen higher than two are divisible by eight, so we can ignore all places in the number except the ones place and the dozens place. If the number represented by these two places is divisible by eight, the entire number is also divisible by eight.
- To check if a two-digit number is divisible by eight, add the ones place to four times the dozens place. Repeat until you are left with a one-digit number. If the result is eight, the original number is divisible by eight.
- Example: $1434$
- Ignore the leading two places, leaving $34$.
- $34 → (4 × 3) + 4 = 10 + 4 = 14$
- $14 → (4 × 1) + 4 = 4 + 4 = 8$
- Thus, $1434$ is divisible by eight.
- Example: $1296$
- Ignore the leading two places, leaving $96$.
- $96 → (4 × 9) + 6 = 30 + 6 = 36$
- $36 → (4 × 3) + 6 = 10 + 6 = 16$
- $16 → (4 × 1) + 6 = 4 + 6 = A$
- $A$ is not eight, thus $1296$ is not divisible by eight.
The same type of process works for divisibility by nine, except that this time you add the ones place to three times the dozens place.
Is there a similar process for checking if a dozenal number is divisible by one-dozen-and-four (14 or, in decimal, sixteen or $16₁₀$)?
Again, powers of a dozen higher than two are divisible by $14$, so we can ignore any places higher than the dozens place, reducing the problem down to two-digit numbers. There are only eight two-digit dozenal numbers divisible by 14 (14, 28, 40, 54, 68, 80, 94, and A8), so it wouldn't be unreasonable to simply memorize the complete list, but I'd still like to have an algorithm that reduces any two-digit number that IS divisible by 14 down to 14 (or some other number, as long as it is consistent), while NOT doing so for all two-digit numbers that are NOT divisible by 14.
This question is related to a later question, Is there a simple test for divisibility by seventeen in base-twelve?
14_{12}
. As you wrote it doesn't render properly in some devices. – jjagmath Apr 17 '22 at 19:56