Interesting inverses

Suppose a -a and ( a + 1 ) (a+1) are inverses of each other modulo d d . Let r r and s s be the smallest positive integers such that a r 1 a^r \equiv 1 (mod d d ) and ( a + 1 ) s 1 (a+1)^s \equiv 1 (mod d d ) for all positive integers d d other than 1. Then r × s = ? r\times s=\boxed{?}


The answer is 18.

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.

1 solution

Noel Lo
Oct 23, 2017

a ( a + 1 ) 1 -a(a+1) \equiv 1 (mod d d )

a 2 a 1 -a^2-a \equiv 1 (mod d d )

a 2 + a 1 a^2+a \equiv -1 (mod d d )

a 1 a \equiv 1 (mod d d ) only works for certain values of d d . If a 2 1 a^2 \equiv 1 (mod d d ), then a 1 a \equiv -1 (mod d d ) which is true only if d = 1 d=1 . We claim that a 3 1 a^3 \equiv 1 (mod d d ) for all positive integers d d .

a 3 = a 2 + 1 = a 2 a ( a 1 ) a a ( a + 1 ) 1 a^3=a^{2+1}=a^2 \cdot a \equiv (-a-1) \cdot a \equiv -a(a+1) \equiv 1 (mod d d )

Indeed, r = 3 r=3 . We also find that:

a + 1 a a+1 \equiv -a (mod d d ).

( a + 1 ) 3 ( a ) 3 (a+1)^3 \equiv (-a)^3 (mod d d )

( a + 1 ) 3 a 3 (a+1)^3 \equiv -a^3 (mod d d )

( a + 1 ) 3 1 (a+1)^3 \equiv -1 (mod d d )

( a + 1 ) 3 × 2 ( 1 ) 2 (a+1)^{3\times 2} \equiv (-1)^2 (mod d d )

( a + 1 ) 6 1 (a+1)^6 \equiv 1 (mod d d )

Indeed, s = 6 s=6 . Therefore, r × s = 3 × 6 = 18 r \times s=3\times6 =\boxed{18} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...