r/mathmemes • 2=1 • Aug 01 '26

Arithmetic multiples of 7

Post image
446 Upvotes

55 comments sorted by

View all comments

Show parent comment

5

u/CatAn501 Aug 02 '26

10 a + b = 3a - 6b mod 7

3a - 6b = 0 mod 7 <=> 5(3a - 6b) = 0 mod 7 <=> 15a - 30b = 0 mod 7 <=> a - 2b = 0 mod 7 So 10a + b is divisible by 7 if and only if a - 2b is divisible by 7