- Once you have the complete prime factorization, check whether 2 is among its prime factors...
- If 2 is a factor, it’s even; if not, odd.
Also I only use the step over command in the debugger