Since 1986 = 62*32 + 2, we have

by Euler's theorem, since
. Then

which tells us the 7th digit from the right is 1.
Then

so the next digit must be 0;

so the next digit is 1;

so the next digit is 1;

so the next digit is 0;

so the next digit is 0; and

so the last digit is 1.
So the last 7 digits of this number in binary are 1011001.