Given that
a
0
=
b
0
=
0
a
i
,
b
i
≥
0
..........
∀
i
≥
0
a
1
:
b
1
=
6
:
6
1
b
1
2
−
a
1
2
=
3
6
8
5
a
n
=
8
a
n
−
1
−
7
a
n
−
2
b
n
=
6
5
b
n
−
1
−
1
2
6
b
n
−
2
Find the Greatest Common Divisor of
the numbers formed by last 5 digits of a 2 5 6 0 and b 1 0 0 0
Details And Assumptions :-
The last five digits are taken in order as they appear i.e.
number formed by last 5 digits of the number 67865783658 is 83658 .
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.
Problem Loading...
Note Loading...
Set Loading...
Solution
a 1 : b 1 = 6 : 6 1 , let a 1 = 6 k , b 1 = 6 1 k
b 1 1 − a 1 2 = 6 1 2 k 2 − 6 2 k 2 = 3 6 8 5 .....given
Thus k 2 ( 6 1 2 − 6 2 ) = k 2 3 6 8 5 = 3 6 8 5
Hence k= ± 1 but as given that ∀ a i , b i ≥ 0 , k = − 1
Hence a 1 = 6 , b 1 = 6 1
We have recurrence for a n with characteristic equation x 2 − 8 x + 7 = 0 which has roots 7 and 1
Hence a n = A 1 × 7 n + B 1 × 1 n ....from initial conditions a 0 = 0 and a 1 = 6 we can calculate A 1 = 1 , B 1 = − 1
Hence a n = 7 n − 1
Similarly recurrence for b n has characteristic equation with roots 63 and 2 hence
b n = A 2 × 6 3 n + B 2 × 2 n
and from initial conditions , A 2 = 1 , B 2 = − 1
Hence b n = 6 3 n − 2 n
Now we need the last 5 digits of a 2 5 6 0 which are last five digits of 7 2 5 6 0 − 1 and they are 36000 .( 7 2 5 6 0 ≡ 3 6 0 0 1 ( m o d 1 0 5 ) )
Last five digits of b 1 0 0 0 will be last five digits of 6 3 1 0 0 0 − 2 1 0 0 0 which are 70625 ... ( 6 3 1 0 0 0 − 2 1 0 0 0 ≡ 7 0 6 2 5 ( m o d 1 0 5 ) )
GCD of 36000 and 70625 is 1 2 5 .