+0

# what is MOD

#2
+5

http://nrich.maths.org/4350

This site will  give you an idea.

----------------------------------------

A clock is an example of modular arithmetic It is mod 12

What time is it 297 hours after 00:00

299/12 = 24 remainder 11

Only the 11 is important the time is 11:00

Have a look at the nrich site to get more of an idea.

May 15, 2014

#1
+5

modulo

don't know the exact english word, but it's the rest of the division.

For example

10%3 = 1

11%3 = 2

12%3 = 0

May 15, 2014
#2
+5

http://nrich.maths.org/4350

This site will  give you an idea.

----------------------------------------

A clock is an example of modular arithmetic It is mod 12

What time is it 297 hours after 00:00

299/12 = 24 remainder 11

Only the 11 is important the time is 11:00

Have a look at the nrich site to get more of an idea.

Melody May 15, 2014
#3
0

Anonymous has got the right idea too

10%3 = 1 ==>  10mod3 is 1 because 10 divided by 3 has a REMAINDER OF 1

11%3 = 2 ==> 11MOD3 is 2

12%3 = 0 ==> 12 mod 3 is 0

May 15, 2014
#4
0

$$\\\boxed{(a\bmod b)=a-b\lfloor\frac{a}{b}\rfloor}\\ \\ Example: \quad 299\bmod 12=299-12*\lfloor\frac{299}{12}\rfloor\\ = 299-12*24=299-288=11$$

latex code:

\\\boxed{(a\bmod b)=a-b\lfloor\frac{a}{b}\rfloor}\\
\\
Example: \quad 299\bmod 12=299-12*\lfloor\frac{299}{12}\rfloor\\
= 299-12*24=299-288=11

$$\lfloor \dots \rfloor = floor function$$

latex code:

\lfloor \dots \rfloor = floor function

May 15, 2014
#5
0

When you post your fancy LaTex can you please post the code as well.

There is a LaTex thread in the sticky notes and I will transfer your output and code into posts within it. (Unless you want to)

I am very excited about having a LaTex expert on the forum.  Thank you so much for joining us!

Thank you in advance. May 15, 2014
#6
0

$$\\\boxed{(a\bmod b)=a-b\lfloor\frac{a}{b}\rfloor}\\ \\ Example: \quad 299\bmod 12=299-12*\lfloor\frac{299}{12}\rfloor\\ = 299-12*24=299-288=11$$

latex code:

\\\boxed{(a\bmod b)=a-b\lfloor\frac{a}{b}\rfloor}\\
\\
Example: \quad 299\bmod 12=299-12*\lfloor\frac{299}{12}\rfloor\\
= 299-12*24=299-288=11

$$\lfloor \dots \rfloor = floor function$$

latex code:

\lfloor \dots \rfloor = floor function

May 15, 2014