Difference between revisions of "2005 IMO Problems/Problem 4"

(Solution)
(Solution)
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
Let <math>k</math> be a positive integer that satisfies the given condition.
 
Let <math>k</math> be a positive integer that satisfies the given condition.
  
For all primes <math>p>3</math>, by FLT, <math>n^{p-1} \equiv 1\pmod p</math> if <math>n</math> and <math>p</math> are relatively prime. This means that <math>n^{p-3} \equiv \frac{1}{n^2} \pmod p</math>. Plugging <math>n = p-3</math> back into the equation, we see that the value<math>\mod p</math> is simply <math>\frac{2}{9} + \frac{3}{4} + \frac{1}{36} - 1 = 0</math>. Thus, the expression is divisible by <math>p.</math> Since <math>a_2 = 48 = 2^4 \cdot 3,</math> <math>k</math> cannot have any prime divisors. Therefore, our answer is only <math>1.</math>
+
For all primes <math>p>3</math>, by [[Fermat's Little Theorem]], <math>n^{p-1} \equiv 1\pmod p</math> if <math>n</math> and <math>p</math> are relatively prime. This means that <math>n^{p-3} \equiv \frac{1}{n^2} \pmod p</math>. Plugging <math>n = p-3</math> back into the equation, we see that the value<math>\mod p</math> is simply <math>\frac{2}{9} + \frac{3}{4} + \frac{1}{36} - 1 = 0</math>. Thus, the expression is divisible by all primes <math>p>3.</math> Since <math>a_2 = 48 = 2^4 \cdot 3,</math> we can conclude that <math>k</math> cannot have any prime divisors. Therefore, our answer is only <math>1.</math>
  
 
==See Also==
 
==See Also==
  
 
{{IMO box|year=2005|num-b=3|num-a=5}}
 
{{IMO box|year=2005|num-b=3|num-a=5}}

Revision as of 22:14, 25 November 2023

Problem

Determine all positive integers relatively prime to all the terms of the infinite sequence \[a_n=2^n+3^n+6^n -1,\ n\geq 1.\]

Solution

Let $k$ be a positive integer that satisfies the given condition.

For all primes $p>3$, by Fermat's Little Theorem, $n^{p-1} \equiv 1\pmod p$ if $n$ and $p$ are relatively prime. This means that $n^{p-3} \equiv \frac{1}{n^2} \pmod p$. Plugging $n = p-3$ back into the equation, we see that the value$\mod p$ is simply $\frac{2}{9} + \frac{3}{4} + \frac{1}{36} - 1 = 0$. Thus, the expression is divisible by all primes $p>3.$ Since $a_2 = 48 = 2^4 \cdot 3,$ we can conclude that $k$ cannot have any prime divisors. Therefore, our answer is only $1.$

See Also

2005 IMO (Problems) • Resources
Preceded by
Problem 3
1 2 3 4 5 6 Followed by
Problem 5
All IMO Problems and Solutions