Li-Fan Chen says to YSITD
2^d = m1 (mod n)