brute force and recursion power 2911795