Solution counts for terms = 2 to 2000000.