one ns for each test
bad problem 3 (doesn't work for large numbers)