Radio code

I'm looking for the algorithm to calculate an M-series radio code. I don't have enough money to buy a calculator.
Can anyone point me in the right direction?
Thanks Colonel

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.