Divisibility Test Calculator

Enter a whole number to see which of 2 to 13 divide it.

A whole number of 1 to 30 digits.

Try

Result

You enteredn=2520n = 2520

Divisible by 2, 3, 4, 5, 6, 7, 8, 9, 10, 12\displaystyle \text{Divisible by 2, 3, 4, 5, 6, 7, 8, 9, 10, 12}

Not divisible by

11,13\displaystyle 11, 13
Show the work
  1. Divisibility by 2

    A number is divisible by 2 when its last digit is even. The last digit of 25202520 is 00, so it is divisible by 2.

    0 mod 2=00 \bmod 2 = 0
  2. Divisibility by 3

    A number is divisible by 3 when its digit sum is. The digit sum of 25202520 is 99, so it is divisible by 3.

    2+5+2+0=99 mod 3=0\begin{gathered} 2 + 5 + 2 + 0 = 9 \\ 9 \bmod 3 = 0 \end{gathered}
  3. Divisibility by 4

    A number is divisible by 4 when its last two digits are, because 100 is a multiple of 4. The last two digits are 2020, so 25202520 is divisible by 4.

    20 mod 4=020 \bmod 4 = 0
  4. Divisibility by 5

    A number is divisible by 5 when its last digit is 0 or 5. The last digit is 00, so 25202520 is divisible by 5.

    0 mod 5=00 \bmod 5 = 0
  5. Divisibility by 6

    A number is divisible by 6 when it is divisible by both 2 and 3. 25202520 is divisible by 2 and is divisible by 3, so it is divisible by 6.

  6. Divisibility by 7

    There is no short digit rule for 7 that is easier than dividing, so divide 25202520 by 7. It is divisible by 7, because the remainder is 0.

    2520÷7=360 remainder 02520 \div 7 = 360 \text{ remainder } 0
  7. Divisibility by 8

    A number is divisible by 8 when its last three digits are, because 1000 is a multiple of 8. The last three digits are 520520, so 25202520 is divisible by 8.

    520 mod 8=0520 \bmod 8 = 0
  8. Divisibility by 9

    A number is divisible by 9 when its digit sum is. The digit sum of 25202520 is 99, so it is divisible by 9.

    2+5+2+0=99 mod 9=0\begin{gathered} 2 + 5 + 2 + 0 = 9 \\ 9 \bmod 9 = 0 \end{gathered}
  9. Divisibility by 10

    A number is divisible by 10 when its last digit is 0. The last digit is 00, so 25202520 is divisible by 10.

  10. Divisibility by 11

    A number is divisible by 11 when the digits, taken from the right and alternately added and subtracted, give a multiple of 11 (0 counts). That total is 11, so 25202520 is not divisible by 11.

    0−2+5−2=11 mod 11=1\begin{gathered} 0 - 2 + 5 - 2 = 1 \\ 1 \bmod 11 = 1 \end{gathered}
  11. Divisibility by 12

    A number is divisible by 12 when it is divisible by both 3 and 4. 25202520 is divisible by 3 and is divisible by 4, so it is divisible by 12.

  12. Divisibility by 13

    There is no short digit rule for 13 that is easier than dividing, so divide 25202520 by 13. It is not divisible by 13, because the remainder is not 0.

    2520÷13=193 remainder 112520 \div 13 = 193 \text{ remainder } 11
  13. Result

    So 25202520 is divisible by 22, 33, 44, 55, 66, 77, 88, 99, 1010, 1212, and not by 1111, 1313.

Worked examples