# Difference between revisions of "2010 AMC 10A Problems/Problem 25"

(Included problem) |
|||

Line 1: | Line 1: | ||

+ | ==Problem== | ||

+ | |||

+ | Jim starts with a positive integer <math>n</math> and creates a sequence of numbers. Each successive number is obtained by subtracting the largest possible integer square less than or equal to the current number until zero is reached. For example, if Jim starts with <math>n = 55</math>, then his sequence contains <math>5</math> numbers: | ||

+ | |||

+ | |||

+ | <cmath>\begin{array}{ccccc} | ||

+ | {}&{}&{}&{}&55\\ | ||

+ | 55&-&7^2&=&6\\ | ||

+ | 6&-&2^2&=&2\\ | ||

+ | 2&-&1^2&=&1\\ | ||

+ | 1&-&1^2&=&0\\ | ||

+ | \end{array}</cmath> | ||

+ | |||

+ | Let <math>N</math> be the smallest number for which Jim’s sequence has <math>8</math> numbers. What is the units digit of <math>N</math>? | ||

+ | |||

+ | <math> | ||

+ | \mathrm{(A)}\ 1 | ||

+ | \qquad | ||

+ | \mathrm{(B)}\ 3 | ||

+ | \qquad | ||

+ | \mathrm{(C)}\ 5 | ||

+ | \qquad | ||

+ | \mathrm{(D)}\ 7 | ||

+ | \qquad | ||

+ | \mathrm{(E)}\ 9 | ||

+ | </math> | ||

+ | |||

+ | ==Solution== | ||

+ | |||

We can find the answer by working backwards. We begin with <math>1-1^2=0</math> on the bottom row, then the <math>1</math> goes to the right of the equal's sign in the row above. We find the smallest value <math>x</math> for which <math>x-1^2=1</math> and <math>x>1^2</math>, which is <math>x=2</math>. | We can find the answer by working backwards. We begin with <math>1-1^2=0</math> on the bottom row, then the <math>1</math> goes to the right of the equal's sign in the row above. We find the smallest value <math>x</math> for which <math>x-1^2=1</math> and <math>x>1^2</math>, which is <math>x=2</math>. | ||

## Revision as of 23:06, 30 December 2011

## Problem

Jim starts with a positive integer and creates a sequence of numbers. Each successive number is obtained by subtracting the largest possible integer square less than or equal to the current number until zero is reached. For example, if Jim starts with , then his sequence contains numbers:

Let be the smallest number for which Jim’s sequence has numbers. What is the units digit of ?

## Solution

We can find the answer by working backwards. We begin with on the bottom row, then the goes to the right of the equal's sign in the row above. We find the smallest value for which and , which is .

We repeat the same procedure except with for the next row and for the row after that. However, at the fourth row, we see that solving yields , in which case it would be incorrect since is not the greatest perfect square less than or equal to . So we make it a and solve . We continue on using this same method where we increase the perfect square until can be made bigger than it. When we repeat this until we have rows, we get:

Hence the solution is the last digit of , which is .