Explanation:
1 and 2023 yes as standard.
2 no (not an even number).
3 no (sum of the digits is 7 and not divisible by 3).
4 no (not an even number)
5 no (2023 dies not end with 5 or 0)
6 no (not an even number)
7 yes. and therefore also 2023/7 = 289
7 has no other factors, so 289 is the remaining part with potentially other prime factors.
289 = 17², so 17 is another factor.
but 17 is again a prime number and has no other factors.
2023 = 7×17×17
and so, 7×17 = 119 is also a factor of 2023.
so, we have as factors :
1, 7, 17, 119, 289, 2023
that means 6 factors in 2023.