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.
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
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.
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
(amodb)=a−b⌊ab⌋Example:299mod12=299−12∗⌊29912⌋=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
⌊…⌋=floorfunction
latex code:
\lfloor \dots \rfloor = floor function
Please Heureka,
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.
(amodb)=a−b⌊ab⌋Example:299mod12=299−12∗⌊29912⌋=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
⌊…⌋=floorfunction
latex code:
\lfloor \dots \rfloor = floor function