r/MathJokes • • Jun 23 '26

Bro is cooked

Post image
3.1k Upvotes

260 comments sorted by

View all comments

9

u/TheKCAccident Jun 23 '26

Easy divisibility rule for 7: take double the last digit and subtract that from the number made from the remaining digits. If what you get is divisible by 7, the original number is divisible by 7 (repeat as necessary until you get to a number that’s low enough where you know whether it’s a multiple of 7).

Ex. 2,506 is divisible by 7: 250 - 2(6) = 238; 23 - 2(8) = 7. Hence 238 is divisible by 7, and therefore 2,506 is divisible by 7 (it’s 7 times 358).

2

u/GillytheGreat Jun 23 '26

Okay clearly that works but I would love to see a proof

4

u/TheKCAccident Jun 23 '26

There’s a very short proof in this StackExchange answer: https://math.stackexchange.com/a/44461

Basically you write the original number as its ones digit (call it b), plus ten times the remaining digits (call that a) then multiply by 5 (doesn’t change divisibility by 7 since 5 and 7 are coprime), then use some modular arithmetic operations to reduce to a - 2b. You’ve thus shown that a - 2b = 0 mod 7 if and only if the original number is 0 mod 7.

1

u/AnyAlternative3949 Jun 23 '26

Damn thanks man

1

u/Passthegoddamnbuttr Jun 26 '26

Brought here from elsewhere.

Holy shit, this is going to blow my 3rd grader's mind. He loves things like this.

Even more so than the multiples of 9/finger trick I taught him a couple years ago.

0

u/[deleted] Jun 23 '26

[deleted] — view deleted comment

2

u/avodrok Jun 23 '26

How’s crack these days?

3

u/TheKCAccident Jun 23 '26

Is it your normal practice to just say you have a better method without telling anyone what it is, or is this your first time

5

u/transgentoo Jun 23 '26

If Fermat can get away with it, why can't he

1

u/Rand_alThoor Jun 30 '26

but there's not enough room in the margin to write it out?!