Difference between revisions of "1982 USAMO Problems/Problem 4"
(→Solution: Essentially chooses Fermat Numbers until We get to a composite one, 1+1/2+...+1/32+1/64+1/64=1, will write motivation soon) |
|||
Line 2: | Line 2: | ||
Prove that there exists a positive integer <math>k</math> such that <math>k\cdot2^n+1</math> is composite for every integer <math>n</math>. | Prove that there exists a positive integer <math>k</math> such that <math>k\cdot2^n+1</math> is composite for every integer <math>n</math>. | ||
− | == Solution == | + | == Solution 1 == |
Let <math>p</math> be a prime number that divides <math>2^y-1</math> and <math>x</math> be a whole number less than <math>y</math> such that <cmath>k\equiv -1\cdot2^{y-x}\pmod{p}</cmath> If <math>n-x</math> is a multiple of <math>y</math>, then, for some integer <math>r</math>, <cmath>k\cdot2^{n}\equiv-1\cdot2^{y-x}\cdot2^{x+ry}\pmod{p}</cmath> This simplifies to <cmath>k\cdot2^{n} \equiv -1\pmod{p}</cmath> This implies that <math>k\cdot2^{n}+1\equiv 0 \pmod{p}</math>. Thus we conclude that there exists an integer <math>k</math> such that <math>k\cdot2^{n}+1</math> is composite for all integral <math>n</math>. | Let <math>p</math> be a prime number that divides <math>2^y-1</math> and <math>x</math> be a whole number less than <math>y</math> such that <cmath>k\equiv -1\cdot2^{y-x}\pmod{p}</cmath> If <math>n-x</math> is a multiple of <math>y</math>, then, for some integer <math>r</math>, <cmath>k\cdot2^{n}\equiv-1\cdot2^{y-x}\cdot2^{x+ry}\pmod{p}</cmath> This simplifies to <cmath>k\cdot2^{n} \equiv -1\pmod{p}</cmath> This implies that <math>k\cdot2^{n}+1\equiv 0 \pmod{p}</math>. Thus we conclude that there exists an integer <math>k</math> such that <math>k\cdot2^{n}+1</math> is composite for all integral <math>n</math>. | ||
+ | |||
+ | == Solution 2== | ||
+ | I claim that <math>\boxed{k=2935363331541925531}</math> works | ||
+ | |||
+ | Consider the primes <math>3,5,7,17,257,65537,6700417,641</math> | ||
+ | |||
+ | Note that <cmath>k\equiv 1\text{ (mod }3,5,7,17,257,65537,6700417)</cmath> and that <cmath>k\equiv 1\text{ (mod }641)</cmath> | ||
+ | |||
+ | Also, <cmath>\text{ord}_3(2)=2</cmath><cmath>\text{ord}_5(2)=4</cmath><cmath>\text{ord}_{17}(2)=8</cmath><cmath>\text{ord}_{257}(2)=16</cmath><cmath>\text{ord}_{65537}(2)=32</cmath><cmath>\text{ord}_{6700417}(2)=2=\text{ord}_{641}(2)=64</cmath> | ||
+ | |||
+ | |||
+ | Take <math>m</math> to be an odd integer. | ||
+ | |||
+ | It is well known (and not hard to prove) that <math>2^{\frac{\text{ord}_p(2)}{2}\cdot m}\equiv \left(2^{\frac{\text{ord}_p(2)}{2}}\right)^m\equiv -1^m\equiv -1\text{ (mod }p)</math> | ||
+ | |||
+ | Consider some cases: | ||
+ | |||
+ | When <math>n\equiv1\text{ (mod }2)\iff n=m\ </math> we have <math>2^n\cdot k+1\equiv -k+1\equiv 0 \text{ (mod }3)</math> | ||
+ | |||
+ | When <math>n\equiv2\text{ (mod }4)\iff n=2m\ </math> we have <math>2^n\cdot k+1\equiv -k+1\equiv 0 \text{ (mod }5)</math> | ||
+ | |||
+ | When <math>n\equiv4\text{ (mod }8)\iff n=4m\ </math> we have <math>2^n\cdot k+1\equiv -k+1\equiv 0 \text{ (mod }17)</math> | ||
+ | |||
+ | When <math>n\equiv8\text{ (mod }16)\iff n=8m\ </math> we have <math>2^n\cdot k+1\equiv -k+1\equiv 0 \text{ (mod }257)</math> | ||
+ | |||
+ | When <math>n\equiv16\text{ (mod }32)\iff n=16m\ </math> we have <math>2^n\cdot k+1\equiv -k+1\equiv 0 \text{ (mod }65537)</math> | ||
+ | |||
+ | When <math>n\equiv32\text{ (mod }64)\iff n=32m\ </math> we have <math>2^n\cdot k+1\equiv -k+1\equiv 0 \text{ (mod }6700417)</math> | ||
+ | |||
+ | When <math>n\equiv0\text{ (mod }64)\iff64\mid n\ </math> we have <math>2^n\cdot k+1\equiv k+1\equiv 0 \text{ (mod }641)</math>, since <math>2^{64}\equiv 1 \text{ (mod }641)</math> | ||
+ | |||
+ | And furthermore, <math>k>>3,5,17,257,65537,6700417,641</math> so these numbers need be composite. | ||
+ | |||
+ | But this covers all cases; we are done <math>\Box</math> | ||
== See Also == | == See Also == |
Revision as of 22:00, 21 September 2016
Contents
Problem
Prove that there exists a positive integer such that is composite for every integer .
Solution 1
Let be a prime number that divides and be a whole number less than such that If is a multiple of , then, for some integer , This simplifies to This implies that . Thus we conclude that there exists an integer such that is composite for all integral .
Solution 2
I claim that works
Consider the primes
Note that and that
Also,
Take to be an odd integer.
It is well known (and not hard to prove) that
Consider some cases:
When we have
When we have
When we have
When we have
When we have
When we have
When we have , since
And furthermore, so these numbers need be composite.
But this covers all cases; we are done
See Also
1982 USAMO (Problems • Resources) | ||
Preceded by Problem 3 |
Followed by Problem 5 | |
1 • 2 • 3 • 4 • 5 | ||
All USAMO Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.