Factors Calculator

Find every factor of a whole number and see how the pairs fit together.

A whole number from 1 to 1 000 000 000 000

Try

Result

You enteredn=17n = 17

1,17\displaystyle 1, 17

Number of factors

2\displaystyle 2

Sum of factors

18\displaystyle 18

Factor pairs

1×17\displaystyle 1 \times 17

Prime or composite

Prime\displaystyle \text{Prime}
Show the work
  1. Factors come in pairs

    If a whole number dd divides nn exactly, then n÷dn \div d does too, so every factor has a partner. Here n=17n = 17, and it is enough to test the whole numbers up to its square root, rounded down.

    ⌊17⌋=4\lfloor\sqrt{17}\rfloor = 4
  2. List the factor pairs

    Test each whole number from 11 to 44 and keep the ones that divide 1717 exactly; each is paired with its quotient.

    1×17=171 \times 17 = 17
  3. Collect the factors in order

    Write every number from the pairs in increasing order.

    1,171, 17
  4. Result

    So 1717 has exactly 22 factors, 11 and 1717, which makes it prime.

Worked examples