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=360n = 360

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

Not divisible by

7,11,13\displaystyle 7, 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 360360 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 360360 is 99, so it is divisible by 3.

    3+6+0=99 mod 3=0\begin{gathered} 3 + 6 + 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 6060, so 360360 is divisible by 4.

    60 mod 4=060 \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 360360 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. 360360 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 360360 by 7. It is not divisible by 7, because the remainder is not 0.

    360÷7=51 remainder 3360 \div 7 = 51 \text{ remainder } 3
  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 360360, so 360360 is divisible by 8.

    360 mod 8=0360 \bmod 8 = 0
  8. Divisibility by 9

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

    3+6+0=99 mod 9=0\begin{gathered} 3 + 6 + 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 360360 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 −3-3, so 360360 is not divisible by 11.

    0−6+3=−3−3 mod 11=8\begin{gathered} 0 - 6 + 3 = -3 \\ -3 \bmod 11 = 8 \end{gathered}
  11. Divisibility by 12

    A number is divisible by 12 when it is divisible by both 3 and 4. 360360 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 360360 by 13. It is not divisible by 13, because the remainder is not 0.

    360÷13=27 remainder 9360 \div 13 = 27 \text{ remainder } 9
  13. Result

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

Worked examples