matho-pascal: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/matho-pascal - from package: mathomatic-primes

You may install the required package with command apt-get install {package}
Error in other languages:
matho-pascal: bevel nie gevind nie
matho-pascal: comandă negăsită
matho-pascal: comando não encontrado
matho-pascal: commande introuvable
matho-pascal: command not found
matho-pascal: käsku ei ole
matho-pascal: không tìm thấy lệnh
matho-pascal: komanda nerasta
matho-pascal: Kommando nicht gefunden.
matho-pascal: kommandot finns inte
matho-pascal: komut yok
matho-pascal: nie znaleziono polecenia
matho-pascal: níor aimsíodh an t-ordú
matho-pascal: no se encontró la orden
matho-pascal: no s'ha trobat l'ordre
matho-pascal: opdracht niet gevonden
matho-pascal: parancs nem található
matho-pascal: perintah tidak ditemukan
matho-pascal: príkaz nenájdený
matho-pascal: příkaz nenalezen
matho-pascal: команда не найдена
matho-pascal: командата не е открита
matho-pascal: 命令找不到
matho-pascal: コマンドが見つかりません