Difference between revisions of "1995 AIME Problems/Problem 8"
(→Solution 2) |
(→Solution 3 (Rigorous, but straightforward)) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 21: | Line 21: | ||
==Solution 3 (Rigorous, but straightforward)== | ==Solution 3 (Rigorous, but straightforward)== | ||
− | We use casework: | + | We use casework: |
− | For <math>y=1</math>, we have <math> | + | |
− | For <math>y=2</math>, we have <math>8,14,\cdots 98</math>, or <math>16</math> cases. | + | For <math>y=1</math>, we have <math>3,5,\cdots ,99</math>, or <math>49</math> cases. |
− | For <math>y=3</math>, we have <math>15,27,\ | + | |
− | For <math>y=4</math>, we have <math>24,44\cdots ,84</math>, or <math>4</math> cases. | + | For <math>y=2</math>, we have <math>8,14,\cdots ,98</math>, or <math>16</math> cases. |
− | For <math>y=5</math>, we have <math>35,65,95</math>, or <math>3</math> cases. | + | |
− | For <math>y=6</math>, we have <math>48,90</math>, or <math>2</math> cases. | + | For <math>y=3</math>, we have <math>15,27,\cdots ,99</math>, or <math>8</math> cases. |
− | For <math>y=7</math>, we have <math>63</math>, or <math>1</math> case. | + | |
− | For <math>y=8</math>, we have <math>80</math>, or <math>1</math> case. | + | For <math>y=4</math>, we have <math>24,44\cdots ,84</math>, or <math>4</math> cases. |
− | For <math>y=9</math>, we have <math>99</math>, or <math>1</math> case. | + | |
+ | For <math>y=5</math>, we have <math>35,65,95</math>, or <math>3</math> cases. | ||
+ | |||
+ | For <math>y=6</math>, we have <math>48,90</math>, or <math>2</math> cases. | ||
+ | |||
+ | For <math>y=7</math>, we have <math>63</math>, or <math>1</math> case. | ||
+ | |||
+ | For <math>y=8</math>, we have <math>80</math>, or <math>1</math> case. | ||
+ | |||
+ | For <math>y=9</math>, we have <math>99</math>, or <math>1</math> case. | ||
Adding, we get our final result of <math>\boxed{085}.</math> | Adding, we get our final result of <math>\boxed{085}.</math> | ||
+ | |||
+ | Note: In general, all of the solutions for all <math>y</math> are <math>y+by(y+1)</math>, for any <math>b</math> such that <math>y+by(y+1)=x<100</math> | ||
+ | |||
~SirAppel | ~SirAppel | ||
+ | |||
+ | Also, note that <math>n+1</math> just starts with <math>(y+1)^2</math>, and adds <math>y(y+1)</math> until it is greater than <math>100</math>. | ||
+ | |||
+ | ~Yiyj1 | ||
== See also == | == See also == |
Latest revision as of 16:37, 1 January 2024
Contents
Problem
For how many ordered pairs of positive integers with are both and integers?
Solution 1
Since , , then (the bars indicate divisibility) and . By the Euclidean algorithm, these can be rewritten respectively as and , which implies that both . Also, as , it follows that . [1]
Thus, for a given value of , we need the number of multiples of from to (as ). It follows that there are satisfactory positive integers for all integers . The answer is
^ Another way of stating this is to note that if and are integers, then and must be integers. Since and cannot share common prime factors, it follows that must also be an integer.
Solution 2
We know that and .
Write as for some integer . Then, . We can add to each side in order to factor out a . So, or . We know that . We finally achieve the congruence .
We can now write as . Plugging this back in, if we have a value for , then . We only have to check values of when . This yields the equations .
Finding all possible values of such that , we get
Solution 3 (Rigorous, but straightforward)
We use casework:
For , we have , or cases.
For , we have , or cases.
For , we have , or cases.
For , we have , or cases.
For , we have , or cases.
For , we have , or cases.
For , we have , or case.
For , we have , or case.
For , we have , or case.
Adding, we get our final result of
Note: In general, all of the solutions for all are , for any such that
~SirAppel
Also, note that just starts with , and adds until it is greater than .
~Yiyj1
See also
1995 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 7 |
Followed by Problem 9 | |
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.