A few easy examples of CPU-intensive tasks:

- searching for prime numbers (involves lots of BigInteger divisions)
- calculating large factorials e.g. 2000! ((involves lots of BigInteger multiplications)
- many Math.tan() calculations (this is interesting because Math.tan is native, so you’re using two call stacks: one for Java calls, the other for C calls.)