We discuss possible search for optical transitions in Sm13+ and Sm14+ using ab initio calculations of differential dynamic polarizability. We calculate dynamic polarizability for M1 transition between first and second excited states of Sm14+ . Transition amplitudes and energies within optical range for states that contribute to the polarizability of the mentioned transition are presented. Employing simple analytical formula for polarizability data in the vicinity of a resonance and assuming that several values of the polarizability for different laser frequencies will be measured one can find the accurate position of the resonance. Results of similar calculations of amplitudes and energies of states that contribute to the polarizability of the M1 transition between ground and first excited states of Sm13+ are also presented.