Find the number of positive integers n \le 10000 that satisfy \lfloor \log_4 n \rfloor + \lfloor \log_8 n \rfloor + \lfloor \log_{64} n \rfloor = 5
The answer is 4810.