"M D M D F S __. Fill in the next letter."

Do you know what's the name of the above puzzle? Is it an algebra puzzle?

Thanks!