Difference between revisions of "2007 AIME I Problems/Problem 5"
Warriorcats (talk | contribs) m (→Solution) |
I Love Math (talk | contribs) m (Box the solution) |
||
Line 14: | Line 14: | ||
Generalizing this, we define that <math>9x + k = F - 32</math>. Thus, <math>F = \left[\frac{9}{5}\left[\frac{5}{9}(9x + k)\right] + 32\right] \Longrightarrow F = \left[\frac{9}{5}(5x + \left[\frac{5}{9}k\right]) + 32\right] \Longrightarrow F = \left[\frac{9}{5} \left[\frac{5}{9}k \right] \right] + 9x + 32</math>. We need to find all values <math>0 \le k \le 8</math> that <math>\left[ \frac{9}{5} \left[ \frac{5}{9} k \right] \right] = k</math>. Testing every value of <math>k</math> shows that <math>k = 0, 2, 4, 5, 7</math>, so <math>5</math> of every <math>9</math> values of <math>k</math> work. | Generalizing this, we define that <math>9x + k = F - 32</math>. Thus, <math>F = \left[\frac{9}{5}\left[\frac{5}{9}(9x + k)\right] + 32\right] \Longrightarrow F = \left[\frac{9}{5}(5x + \left[\frac{5}{9}k\right]) + 32\right] \Longrightarrow F = \left[\frac{9}{5} \left[\frac{5}{9}k \right] \right] + 9x + 32</math>. We need to find all values <math>0 \le k \le 8</math> that <math>\left[ \frac{9}{5} \left[ \frac{5}{9} k \right] \right] = k</math>. Testing every value of <math>k</math> shows that <math>k = 0, 2, 4, 5, 7</math>, so <math>5</math> of every <math>9</math> values of <math>k</math> work. | ||
− | There are <math>\lfloor \frac{1000 - 32}{9} \rfloor = 107</math> cycles of <math>9</math>, giving <math>5 \cdot 107 = 535</math> numbers that work. Of the remaining <math>6</math> numbers from <math>995</math> onwards, <math>995,\ 997,\ 999,\ 1000</math> work, giving us <math>535 + 4 = 539</math> as the solution. | + | There are <math>\lfloor \frac{1000 - 32}{9} \rfloor = 107</math> cycles of <math>9</math>, giving <math>5 \cdot 107 = 535</math> numbers that work. Of the remaining <math>6</math> numbers from <math>995</math> onwards, <math>995,\ 997,\ 999,\ 1000</math> work, giving us <math>535 + 4 = \boxed{539}</math> as the solution. |
=== Solution 2 === | === Solution 2 === |
Revision as of 15:32, 29 February 2020
Problem
The formula for converting a Fahrenheit temperature to the corresponding Celsius temperature
is
An integer Fahrenheit temperature is converted to Celsius, rounded to the nearest integer, converted back to Fahrenheit, and again rounded to the nearest integer.
For how many integer Fahrenheit temperatures between 32 and 1000 inclusive does the original temperature equal the final temperature?
Contents
Solution
Solution 1
Examine modulo 9.
- If
, then we can define
. This shows that
. This case works.
- If
, then we can define
. This shows that
. So this case doesn't work.
Generalizing this, we define that . Thus,
. We need to find all values
that
. Testing every value of
shows that
, so
of every
values of
work.
There are cycles of
, giving
numbers that work. Of the remaining
numbers from
onwards,
work, giving us
as the solution.
Solution 2
Notice that holds if
for some
.
Thus, after translating from
we want count how many values of
there are such that
is an integer from
to
. This value is computed as
, adding in the extra solution corresponding to
.
Solution 3
Let be a degree Celsius, and
rounded to the nearest integer. Since
was rounded to the nearest integer we have
, which is equivalent to
if we multiply by
. Therefore, it must round to
because
so
is the closest integer. Therefore there is one solution per degree celcius in the range from
to
, meaning there are
solutions.
Solution 4
Start listing out values for and their corresponding values of
. You will soon find that every 9 values starting from
= 32, there is a pattern:
Works
Works
Doesn’t work
Doesn’t work
Works
Works
Doesn’t work
Works
Doesn’t work
Works
There are 969 numbers between 32 and 1000, inclusive. This is 107 sets of 9, plus 6 extra numbers at the end. In each set of 9, there are 5 “Works,” so we have values of
that work.
Now we must add the 6 extra numbers. The number of “Works” in the first 6 terms of the pattern is 4, so our final answer is solutions that work.
Submitted by warriorcats
See also
2007 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 4 |
Followed by Problem 6 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.