Numberphile Card Trick
- 25Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the digit sum rule for divisibility by 3?
If the sum of the digits of a number is divisible by 3, then the number itself is divisible by 3.
Or swipe the card
25 cards
What is the digit sum rule for divisibility by 3?
If the sum of the digits of a number is divisible by 3, then the number itself is divisible by 3.
What is the digit sum rule for divisibility by 9?
If the sum of the digits of a number is divisible by 9, then the number itself is divisible by 9.
Prove that if the sum of digits of N is divisible by 3, then N is divisible by 3.
Write N=an10n+⋯+a0. Then N−(an+⋯+a0)=an(10n−1)+⋯+a1(10−1). Each (10k−1) is a multiple of 9, so N−S is a multiple of 9. Thus if S is divisible by 3, N=(N−S)+S is also divisible by 3.
What is the sum of the digits 1 through 9?
45
Why is any arrangement of the digits 1,2,3,4 not divisible by 3?
The sum of digits is 10, which is not divisible by 3.
If you add a 5 to the set {1,2,3,4}, why is any arrangement divisible by 3?
The sum becomes 15, which is divisible by 3.
Why is Belphegor's number 1n zeros00…0616n zeros00…01 always composite?
Its digit sum is 1+6+1+6+1=15, which is divisible by 3, so the number is divisible by 3.
How can you test if a number is divisible by 2?
The last digit must be even (0,2,4,6,8).
How can you test if a number is divisible by 4?
The last two digits must form a number divisible by 4.
Why does the divisibility test for 4 work?
Because 100 is divisible by 4, so every digit in the hundreds place and above contributes a multiple of 100, which is also a multiple of 4. Only the last two digits matter.
How can you test if a number is divisible by 5?
The last digit must be 0 or 5.
How can you test if a number is divisible by 8?
The last three digits must form a number divisible by 8.
What is a two-stage test for checking if a three-digit number is divisible by 8?
Take the first two digits, multiply by 2, then add the last digit. If the result is divisible by 8, then the original three-digit number is divisible by 8.
Prove the two-stage test for divisibility by 8 for three-digit numbers.
Let the number be N=100a+10b+c. The test uses T=2(10a+b)+c=20a+2b+c. Then N−T=80a+8b=8(10a+b), which is divisible by 8. So if T is divisible by 8, so is N.
How can you test if a number is divisible by 10?
The last digit must be 0.
How can you test if a number is divisible by 6?
The number must be divisible by both 2 and 3, i.e., it must be even and its digit sum divisible by 3.
How can you test if a number is divisible by 12?
The number must be divisible by both 3 and 4.
How can you test if a number is divisible by 11?
Reverse the number, then take the alternating sum (first digit minus second plus third minus ...). If the result is a multiple of 11, the original number is.
In the card trick for 11, what is the goal when adding a digit to make a number divisible by 11?
Make the alternating sum equal to 0 (or a multiple of 11) by inserting an appropriate digit.
How can you test if a number is divisible by 7 using blocks of three?
Group the digits in threes from the right, then take the alternating sum (add first block, subtract second, add third, etc.). If the result is divisible by 7, so is the original number.
What is a test for divisibility by 7 for a three-digit number?
Take the first two digits minus twice the last digit. If the result is divisible by 7, the three-digit number is.
What two numbers are key to proving the blocks-of-three test for 7?
1001 (since 1001=7×11×13) and 999999 (which is a multiple of 7).
What is the general divisibility test for numbers d that end in 1,3,7, or 9?
First, find the 'divvy number' m: choose x so dx ends in 9, then m=10dx+1. For N=10t+q, compute mq+t. If this is divisible by d, then N is divisible by d.
Why must the divisor d end in 1,3,7, or 9 for the general test?
Because only then can it be multiplied by some x to end in 9, allowing the construction of m as a whole number.
Use the general test to check if 1035 is divisible by 23.
For d=23, multiply by 3 to get 69, add 1 to get 70, divide by 10 to get m=7. Write 1035=10(103)+5, so t=103, q=5. Compute 7×5+103=138. 138÷23=6, so 1035 is divisible by 23.

Ask anything
We've read this whole study set, so questions about it get the best answers.