Difference between revisions of "1990 AHSME Problems/Problem 19"

(Solution)
(Solution)
 
(7 intermediate revisions by 4 users not shown)
Line 10: Line 10:
  
 
== Solution ==
 
== Solution ==
What we want to know is for how many <math>n</math> is <cmath>\gcd(n^2+7, n+4) > 1.</cmath> We start by setting <cmath>n+4 \equiv 0 \mod m</cmath> for some arbitrary <math>m</math>. This shows that <math>m</math> evenly divides <math>n+4</math>. Next we want to see under which conditions <math>m</math> also divides <math>n^2 + 7</math>.  We know from the previous statement that <cmath>n \equiv -4 \mod m</cmath> and thus <cmath>n^2 \equiv (-4)^2 \equiv 16 \mod m.</cmath> Next we simply add <math>7</math> to get <cmath>n^2 + 7 \equiv 23 \mod m.</cmath> However, we also want <cmath>n^2 + 7 \equiv 0 \mod m</cmath> which leads to <cmath>n^7 + 7\equiv 23 \equiv 0 \mod m</cmath> from the previous statement. Since from that statement <math>23</math> divides <math>m</math> evenly, <math>m</math> must be of the form <math>23x</math>, for some arbitrary integer <math>x</math>. After this, we can set <cmath>n+4=23x</cmath> and <cmath>n=23x-4.</cmath> Finally, we must find the largest <math>x</math> such that <cmath>23x-4<1990.</cmath> This is a simple linear equality for which the answer is <math>x=86</math>, or <math>\fbox{B}</math>. Solution by hjklhjklhjkl2008.
+
What we want to know is for how many <math>n</math> is <cmath>\gcd(n^2+7, n+4) > 1.</cmath> We start by setting <cmath>n+4 \equiv 0 \mod m</cmath> for some arbitrary <math>m</math>. This shows that <math>m</math> evenly divides <math>n+4</math>. Next we want to see under which conditions <math>m</math> also divides <math>n^2 + 7</math>.  We know from the previous statement that <cmath>n \equiv -4 \mod m</cmath> and thus <cmath>n^2 \equiv (-4)^2 \equiv 16 \mod m.</cmath> Next we simply add <math>7</math> to get <cmath>n^2 + 7 \equiv 23 \mod m.</cmath> However, we also want <cmath>n^2 + 7 \equiv 0 \mod m</cmath> which leads to <cmath>n^2 + 7\equiv 23 \equiv 0 \mod m</cmath> from the previous statement. From that statement, we get that <math>m</math> divides <math>23</math> evenly. Since <math>23</math> is prime and we're looking for a GCD greater than 1,  <math>m</math> must be <math>23</math>. Going back to our original statement, we can set <cmath>n+4=23x</cmath> for some positive integer x, and <cmath>n=23x-4.</cmath> Finally, we must find the largest <math>x</math> such that <cmath>23x-4<1990.</cmath> This is a simple linear inequality for which the answer is <math>x=86</math>, or <math>\fbox{B}</math>.
  
 
== See also ==
 
== See also ==

Latest revision as of 00:24, 9 August 2022

Problem

For how many integers $N$ between $1$ and $1990$ is the improper fraction $\frac{N^2+7}{N+4}$ $\underline{not}$ in lowest terms?

$\text{(A) } 0\quad \text{(B) } 86\quad \text{(C) } 90\quad \text{(D) } 104\quad \text{(E) } 105$

Solution

What we want to know is for how many $n$ is \[\gcd(n^2+7, n+4) > 1.\] We start by setting \[n+4 \equiv 0 \mod m\] for some arbitrary $m$. This shows that $m$ evenly divides $n+4$. Next we want to see under which conditions $m$ also divides $n^2 + 7$. We know from the previous statement that \[n \equiv -4 \mod m\] and thus \[n^2 \equiv (-4)^2 \equiv 16 \mod m.\] Next we simply add $7$ to get \[n^2 + 7 \equiv 23 \mod m.\] However, we also want \[n^2 + 7 \equiv 0 \mod m\] which leads to \[n^2 + 7\equiv 23 \equiv 0 \mod m\] from the previous statement. From that statement, we get that $m$ divides $23$ evenly. Since $23$ is prime and we're looking for a GCD greater than 1, $m$ must be $23$. Going back to our original statement, we can set \[n+4=23x\] for some positive integer x, and \[n=23x-4.\] Finally, we must find the largest $x$ such that \[23x-4<1990.\] This is a simple linear inequality for which the answer is $x=86$, or $\fbox{B}$.

See also

1990 AHSME (ProblemsAnswer KeyResources)
Preceded by
Problem 18
Followed by
Problem 20
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. AMC logo.png