Is any one know how to do this question by matlab

Let n=391=17*23. Shot that 2^n-1 incongruent 1( mod n). Find an exponent j>0 such that 2^j congruent 1(mod n).