1990 AHSME Problems/Problem 13
Problem
If the following instructions are carried out by a computer, which value of will be printed because of instruction ?
1. START AT AND AT . 2. INCREASE THE VALUE OF BY . 3. INCREASE THE VALUE OF BY THE VALUE OF . 4. IF IS AT LEAST , THEN GO TO INSTRUCTION ; OTHERWISE, GO TO INSTRUCTION . AND PROCEED FROM THERE. 5. PRINT THE VALUE OF . 6. STOP.
Solution
Looking at the first few values, it becomes clear that the program stops when which is to say However, the left hand side is now simply the square . Multiplying out, we get
So the correct answer is , which is
See also
1990 AHSME (Problems • Answer Key • Resources) | ||
Preceded by Problem 12 |
Followed by Problem 14 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 • 26 • 27 • 28 • 29 • 30 | ||
All AHSME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.