1
$\begingroup$

I'm wondering does anyone know of a scientific calculator with a mod function?

In C# this is shown as follows (just in case there are any other mods that a mathematical non-savant such as myself wouldn't be aware of)

5 % 4 = 1

I've looked through the most common ones on the web but the function is either not in the list or not present.

I have a little bit of a bias towards Casio calculators as that's what I'm familiar with but will accept any suggestions that can be currently purchased.

Derek

  • 0
    Do you want exponentiation modulo a number as well? As you tag it cryptography? This is a bit harder than just the modulo operation, as $a^b \pmod{n}$ is not computed by finding $a^b$ first, but by a process that has intermediate reductions, to keep numbers small. Of course, python (as a command line calculator) and similar programs (Pari, etc.) will do this on a computer.2011-03-16
  • 0
    If you use Windows 7 I desire the same functionality as the mod function that calculator offers. I'm afraid I don't know enough to comment on your observation :-(2011-03-16
  • 0
    Why do you want a calculator model?2011-03-16
  • 0
    Doing a Masters and I need it for exams...2011-03-17
  • 0
    My calculator has a % key ... but it doesn't do mod, it does percentage.2016-07-13

6 Answers 6

-3

The TI-36x pro has a mod button under the Math menu.

  • 1
    When responding to a 7+ year old Question with Accepted and upvoted Answers, one should highlight the new information provided relative to earlier responses. Giving the shortest of all Answers is not of benefit in this situation.2018-07-06
  • 0
    @hardmath There is *no* time limit to the answers in the SE. I think the problem is not with the answer, but with the question (might be ontopic on https://hardwarerecs.stackexchange.com).2018-07-06
  • 1
    @peterh: It isn't a matter of a "time limit to the answers", but rather about taking the time to write a good Answer that reflects some improvement on posts from years gone by. New users should be encouraged to write material that contributes to the goals of Math.SE, and the temptation to write spuriously brief responses deterred.2018-07-06
  • 0
    @hardmath It is all right - except that questions can be answered any time.2018-07-06
  • 0
    Google doesn't really care how old a question is. It's always going to come up. The truth is there aren't a lot of good answers in this thread. I have almost every calculator listed, and if someone wants an easy mod button, the TI-36x pro is the best calculator "now" listed in this thread. I'm an avid user of the the HP35s, but it's remainder display is a pain for this. Get the TI-36x if you are reading this to decide what calculator to buy.2018-07-06
  • 0
    @hardmath: This answer is OK. The OP asks for a list of calculators that have a `mod` function, and this post brings something new by mentioning a model that hadn't been previously mentioned. I believe that with time this page will grow into a list of calculator models, but I see nothing wrong with this.2018-07-07
2

HP : buy a hewlett packard calculator. the model HP-35S contains hundreds of functions. there is a description here ; http://www.shopping.hp.com/product/calculator/Scientific/1/storefronts/F2215AA%2523ABA;HHOJSID=FW7TNQVJMqHh075qvYbPbRvjvx2K1ybHFyYXGDY9Vr8kpqFlknwg!492383249

The 32Sii used to have a button just for that, on the other hand the HP35s is programmable and you can most probably do it easily.

  • 1
    While HPs are great and I wouldn't trade my multitude of HPs for any other calculators past or present, the good ones (like the 32s/33s/35s and the 48g/49g/50g series) require learning RPN/postfix notation (though RPN is one of my primary reasons for liking the HPs so much).2011-03-18
  • 0
    The 49G and 50G added an "algebraic" mode which uses the usual infix notation.2011-03-18
  • 0
    @Nate: Ah, right. Most people are probably better off with a TI-84 or TI-Nspire than an HP 49G/50G, though.2011-03-18
  • 0
    Cannot mark as useful as don't have enough rep; will circle back and do so ASAP ;-)2011-03-28
2

Virtually every graphing calculator made in the recent past has a mod function. Many scientific calculators do as well, though the documentation is often lacking.

  • 0
    @noonand: Casio classifies the fx-85GT as a "Standard Scientific Calculator" and shows no graphing features in the manual.2011-03-18
  • 0
    Apparently the Casio FX 991ES Plus does this I have an email from the Casio distributor in Ireland to this effect. I'm a little bit dubious as the manual makes no reference to a modulo function but I'm also mindful of @Isaac's comment about documentation above.2011-03-28
  • 0
    @noonand: My concern with the FX 991 ES Plus is that looking at images of it, I can't see where the modulo function would be—I don't see a key labeled for it, nor would it make sense to me for it to be in any of the menus based on the menu names.2011-03-28
  • 0
    @noonand: The [TI-34 MultiView](http://education.ti.com/educationportal/sites/US/productDetail/us_ti34mv.html) has a "remainder" function.2011-03-28
  • 0
    Just not true, most Casio's _don't_ have a modulo function whatsoever. Of course you can program the functionality in, though.2015-10-25
2

GeoGebra has a Mod[a,b] command eg

http://web.geogebra.org/?command=Mod[5,4]

If you want to define it to use as a function you can do

mod(x, y) = y (x / y - floor(x / y))

and then use that, eg

http://web.geogebra.org/?command=mod(x,y)=y(x/y-floor(x/y));mod(5,4)

2

You can calculate mod on any calculator with this algorithm:

Example 27 / 6 = 4.5

27 / 6 = 4.5

4.5 - 4 = 0.5 Get the fractional part

6 * 0.5 = 3 Mul the denominator and fraction

27 mod 6 = 3

Works every time.

  • 0
    >Works every time. $$$$ I'd be worried if it didn't.2016-06-24
  • 0
    No, it doesn't work every time because of limited precision. If you ask for the fractional part of $\frac {10^{50}+1}{10^{50}}$ you get exactly zero on calculators, so your algorithm will give zero for the mod.2016-06-24
0

There is a mod function in TI NSpire and any graphing calculator:

Syntax: mod(number to divide, modulus (divisor))

E.g. mod(35^51, 319) Enter yields 167