double_squares; brute force