# Calculators with mod and custom functions

Hi,
I need a calculator that have mod(remainder) function and that allows me to enter custom function, for example: f(x) = (x^2+3x+2)mod13 , and then quickly calculate the values of that function by entering different values for x.
Do you know any calculator that can do that?
Thanks

jhae2.718
Gold Member
My HP-50g has a mod function.

Otherwise, if you have the floor function and can program functions you can use $a \mathop{\mathrm{mod}} b = a - b\left\lfloor\frac{a}{b}\right\rfloor$. (This is what I did with my TI-84+.)

Perl

Hi,
I need a calculator that have mod(remainder) function and that allows me to enter custom function, for example: f(x) = (x^2+3x+2)mod13 , and then quickly calculate the values of that function by entering different values for x.
Do you know any calculator that can do that?
Thanks
Yeah... learn PERL and you can do that... or buy an HP48G+, that can do it.