798 is divisible by the prime number 2 which results in 399. Continuing the number 399 is divisible by prime number 3 and the result after division will be 133. Continuing the number 133 is divisible by prime number 7 and the result after division will be 19. The result 19 cannot be divided any further as it is a prime number. Hence the prime factors of 798 are 2, 3, 7, 19.

798 is divisible by the prime number 2 which results in 399. Continuing the number 399 is divisible by prime number 3 and the result after division will be 133. Continuing the number 133 is divisible by prime number 7 and the result after division will be 19. The result 19 cannot be divided any further as it is a prime number. Hence the prime factors of 798 are 2, 3, 7, 19.