The number 871 can be evenly divided by 1 13 67 and 871, with no remainder.
Since 871 cannot be divided by just 1 and 871, it is a composite number.