brute force
math
