It's a very nasty divisibility rule. The one for 13 works in the same way, but instead of multiplying by 2, you multiply by 4.
There are actually a couple of well-known rules for that, but these are the easiest to remember IMO.
Thanks I hate it
This math will not stand man!
If all of the digits summed recursively reduce to a 9, then the number is divisible by 9 and also by 3.
If the difference between the sums of alternating sets digits in a number is divisible by 11, then the number itself is divisible by 11.
That’s all I can remember, but yay for math right?
Well, on the side of easy ones there is "if the last digit is divisible by 2, whole number is divisible by 2". Also works for 5. And if you take last 2 digits, it works for 4. And the legendary "if it ends with 0, it's divisible by 10".
The 9 rule works for 3 too
The 6 rule is if (divisible by 3 and divisible by 2)
I think it might be easier just to do the division.
⅐ = 0.1̅4̅2̅8̅5̅7̅
The above is 42857 * 7, but you also get interesting numbers for other subsets:
With 17, I understand that you're referring to how 299,999 is also divisible by 17. What is the 51 reference, though? I know there's 3,999,999,999,999 but that starts with a 3. Not the same at all.
I know you opened your calculator app to check it.
Can we just say it isn't? Like that's an exception, and then the rest of math can just go on like normal
49 is divisible by 7, so why not?
Phew, for a moment I worried that 2.9999... was divisible by 7 and I woke up in some kind of alternate universe
The divisability rule for 7 is that the difference of doubled last digit of a number and the remaining part of that number is divisible by 7.
E.g. 299'999 → 29'999 - 18 = 29'981 → 2'998 - 2 = 2'996 → 299 - 12 = 287 → 28 - 14 = 14 → 14 mod 7 = 0.
It's a very nasty divisibility rule. The one for 13 works in the same way, but instead of multiplying by 2, you multiply by 4. There are actually a couple of well-known rules for that, but these are the easiest to remember IMO.
Thanks I hate it
This math will not stand man!
If all of the digits summed recursively reduce to a 9, then the number is divisible by 9 and also by 3.
If the difference between the sums of alternating sets digits in a number is divisible by 11, then the number itself is divisible by 11.
That’s all I can remember, but yay for math right?
Well, on the side of easy ones there is "if the last digit is divisible by 2, whole number is divisible by 2". Also works for 5. And if you take last 2 digits, it works for 4. And the legendary "if it ends with 0, it's divisible by 10".
The 9 rule works for 3 too The 6 rule is if (divisible by 3 and divisible by 2)
I think it might be easier just to do the division.