A prime number is a natural number, greater than one, that can only be divided by 1 and itself.
The number 542158 can be evenly divided by
1, 2, 271,079 and 542,158, with no remainder.
Since 542,158 cannot be divided by just 1 and 542,158, it
is not a prime number.