( m , n ) is called good if m divides n 2 + 1 and n divides m 2 + 1 .
A pair of positive integersA positive integer n is called admissible if there exists an integer m for which the pair ( m , n ) is good.
Find the sum of all admissible positive integers ≤ 1 0 0 .
Details and assumptions
- As an explicit example, since
5
divides
1
3
2
+
1
and
1
3
divides
5
2
+
1
,
the pair
(
5
,
1
3
)
is good. This also implies
5
are
1
3
are admissible integers.
- This problem is an extension of an old BMO problem.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I'm super mad I got 55 because I forgot about 89. I got all the other ones though. D:
Log in to reply
What happened to your other two tries?
Log in to reply
I gave up. I'm swag-alicious like that. I mean seriously, I spent half an hour plugging in values in to my calculator and prime-factorizing with factor trees on paper. You can imagine I was pretty tired. :D
Totally a badass solution :)
Got all the pairs but added up the numbers twice, like in(1,2) and (5,2), added up 2 twice :(
There is a method that involves showing that the only solutions are the solutions to the equation x 2 + y 2 + 1 = x y z and then show that z=3 and then constructing the solutions.The approach can be found in Titu Andreescu's book on intro to diophantine equations,section-FMID.
This problem appears too many times in brilliant already.
i didn't read the QUESTION correctly, you ask for the SUM .... well my bad.
Let me clear some ambiguity here. The notation a ≡ b 1 ( m o d n ) doesn't agree with the definition of congruencies. However, given that g cd ( a , n ) = 1 , b in this case denotes the multiplicative inverse of a ( m o d n ) , which exists and is unique modulo n . As long as the numbers are coprime with n , we can manipulate these reciprocals according to the rules of normal arithmetic.
can you please explain how x n ≡ 1 ( m o d n ) ? and proving the fibonacci series for (k+1) case..
Log in to reply
Note that x n − 1 = m 2 , which is a multiple of m . That's why x n ≡ 1 ( m o d m ) . Regarding your second query, could you be more specific? Which exact line do you think is ambiguous / unclear?
Just a few line of code and you can get the answer :-D
Problem Loading...
Note Loading...
Set Loading...
Claim: ( m , n ) is a good pair if and only if so is ( n m 2 + 1 , m ) .
Proof: Let x = n m 2 + 1 . We trivially have x ∣ m 2 + 1 . Note that g cd ( x , m ) = g cd ( n , m ) = 1 , and x n ≡ 1 ( m o d m ) , so x 2 + 1 ≡ ( n 1 ) 2 + 1 ≡ n n 2 + 1 ≡ 0 ( m o d m ) , so m divides x 2 + 1 . Hence ( n m 2 + 1 , m ) is good. Conversely, if ( n m 2 + 1 , m ) is good, so must be ( ( m 2 + 1 ) / n m 2 + 1 , m ) = ( n , m ) . The claim is proved. ■
By the claim, given any good pair ( m , n ) , we can successively apply the operation ( m , n ) → ( m , n m 2 + 1 ) and eventually arrive at a good pair of the form ( 1 , α ) for some α ∈ N . Since α divides 1 2 + 1 = 2 , α is either 1 or 2 . We shall now reconstruct our solutions from this.
Let F k denote the k th Fibonacci number. We claim that all good pairs are of the form ( F 2 k − 1 , F 2 k + 1 ) . The proof is by induction. The base case k = 1 holds true, since ( F 2 ⋅ 1 − 1 , F 2 ⋅ 1 + 1 ) = ( 1 , 2 ) is indeed a good pair. For the inductive step, assume it is true for some k ∈ N ≥ 1 . By our reverse operation, the next solution is given by ( F 2 k + 1 F 2 k − 1 2 + 1 , F 2 k + 1 ) = ( F 2 k + 1 , F 2 k + 3 ) , where we have used the well known identity F n − 1 F n + 1 − F n 2 = ( − 1 ) n ∀ n ∈ N . Hence, all admissible integers are the Fibonacci numbers with an odd index. All such integers less than 1 0 0 are 1 , 2 , 5 , 1 3 , 3 4 , 8 9 , and their sum is 1 4 4 .