8542 is a natural number that follows 8541 and precedes 8543. In mathematics, 8542 is even and composite. Its prime factorization is 2 × 4271, where 4271 is prime; thus 8542 is a semiprime and square-free. It has four positive divisors: 1, 2, 4271, and 8542. The digit sum is 19, so the number is not divisible by 3. In modular arithmetic, 8542 ≡ 1 modulo 3 and 8542 ≡ 2 modulo 4. Its binary representation is 10000101011110, and its hexadecimal form is 0x215E. In octal, it is 20536. Because 8542 = 2 × 4271 with 4271 prime, it is a square-free semiprime, and its four divisors reflect that. It is used as an example of even semiprimes in number theory discussions. See also: 8541, 8543.