Input a, b, and m(x) as numbers is base p and p and n settings as decimal (m(x) and n are optional)
Made by Bechara Rizk