けんき says to YSITD
r=k M^a...