In mathematics, the term modulo (“with respect to a modulus of”, the Latin ablative of modulus which itself means “a small measure”) is often used to assert that two distinct mathematical objects can be regarded as equivalent–if their difference is accounted for by an additional factor. It was initially introduced into mathematics in the context of modular arithmetic by Carl Friedrich Gauss in 1801. Since then, the term has gained many meanings–some exact and some imprecise (such as equating “modulo” with “except for”). For the most part, the term often occurs in statements of the form :

A is the same as B modulo C

which means

A and B are the same–except for differences accounted for or explained by C

Contents

  • 1 History
  • 2 Usage
    • 2.1 Original use
    • 2.2 Computing
    • 2.3 Structures
    • 2.4 Modding out
  • 3 See also
  • 4 References
  • 5 External links

1 History


Modulo is a mathematical jargon that was introduced into mathematics in the book Disquisitiones Arithmeticae by Carl Friedrich Gauss in 1801. Given the integers a , b , n a, b, n a,b,n, the expression “ a ≡ b ( m o d n ) a ≡ b\ (mod\ n) a≡b (mod n)”, pronounced “ a a a is congruent to b b b modulo n n n”, means that a − b a - b a−b is an integer multiple of n n n, or equivalently, a , b a, b a,b both share the same remainder when divided by n n n. it is the Latin ablative of modulus, which itself means “a small measure”.

The term has gained many meaning over the years–some exact and some imprecise. The most general precise definition is simply in terms of an equivalence relation R R R, where a a a is equivalent (or congruent) to b b b modulo R R R if a R b aRb aRb. More informally, the term is found in statements of the form:

A is the same as B modulo C

which means

A and B are the same–except for differences accounted for or explained by C.

2 Usage


2.1 Original use


Gauss originally intended to use “modulo” as follows: given the integers a , b , n a, b, n a,b,n, the expression a ≡ b ( m o d n ) a ≡ b\ (mod\ n) a≡b (mod n) (pronounced " a a a is congruent to b b b modulo n n n) means that a − b a - b a−b is an integer multiple of n n n, or equivalently, a , b a, b a,b leave the same remainder when divided by n n n. For example:

13 is congruent to 63 modulo 10

means that

13 - 63 is a multiple of 10 (equiv., 13 and 63 differ by a multiple of 10).

2.2 Computing


In computing and computer science, the term can be used in several ways:

  • In computing, it is typically the modulo operation: given two numbers (either integer or real), a , n a, n a,n, a a a modulo n n n is the remainder of the numerical division of a a a by n n n, under certain constraints.
  • In category theory as applied to functional programming, “operating modulo” is special jargon which refers to mapping a functor to a category by highlighting or defining remainders.

2.3 Structures


2.4 Modding out


3 See also


4 References


5 External links

Modulo (mathematics)相关推荐

  1. 智能计算机科学的奠基人,【编注】神经网络算法奠基人之一沃尔特·皮茨的传奇故事...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 当皮茨开始了在MIT的工作,他发现虽然遗传学要对整体的神经特征负责,但是我们的基因没有办法决定大脑中数万亿个的神经突触连接--所需要的巨大的信息量是无法维 ...

  2. 『Discrete Mathematics and Its Applications』离散数学及其应用学习笔记

    教材是Discrete Mathematics and Its Applications 7th,做了一些简单的翻译和简单的笔记. 1. The Foundations: Logic and Proo ...

  3. my rank in math in the domain of pure mathematics

    CID P1 P2 P3 P4 P5 P6 Total 213103 10 10 9 10 10 ● 49 216211 10 10 10 2 10 ● 42 213330 10 10 6 8 7 ● ...

  4. codeforces 7.22 F Pairwise Modulo

    codeforces 7.22 F Pairwise Modulo 给出n个数的数列a,每个数互不相同且都小于3e5,求出qk=∑1<=i,j<=kaimodajq_k=\sum_{1&l ...

  5. 北邮OJ 884. 16校赛-Average Modulo

    时间限制 5000 ms 内存限制 65536 KB 题目描述 We define function g on an array as: g([a0,a1,⋯,an−1])=(Σn−1l=0al) m ...

  6. 【SPOJ】Power Modulo Inverted(拓展BSGS)

    [SPOJ]Power Modulo Inverted(拓展BSGS) 题面 洛谷 求最小的\(y\) 满足 \[k\equiv x^y(mod\ z)\] 题解 拓展\(BSGS\)模板题 #inc ...

  7. CodeForces - 1553F Pairwise Modulo(数论+树状数组)

    题目链接:点击查看 题目大意:给出一个长度为 nnn 的序列,求 pk=∑1≤i,j≤kaimodajp_k = \sum_{1 \le i, j \le k} a_i \bmod a_jpk​=∑1 ...

  8. Mathematics for Computer Graphics

    Mathematics for Computer Graphics 最近严重感觉到数学知识的不足! http://bbs.gameres.com/showthread.asp?threadid=105 ...

  9. Harbour.Space Scholarship Contest 2021-2022 F. Pairwise Modulo 逆向思维 + 树状数组

    传送门 文章目录 题意 思路: 题意 给定一个不同数组成的序列aaa,定义pkp_kpk​为pk=∑i=1k∑j=1kaimodajp_k=\sum_{i=1}^k\sum_{j=1}^ka_i\bm ...

最新文章

  1. 字节流 system.in
  2. LeetCode 21. 合并两个有序链表(Merge Two Sorted Lists)
  3. python自动化_Python报表自动化
  4. 缺少动态连接库.so--cannot open shared object file: No such file or directory
  5. C++编程常见问题—error: passing 'const std::map]' discards qualifiers或pass-by-reference-to-const-map导致的“d
  6. 在读博士练成健身达人,女大学生在宿舍练出八块腹肌……
  7. 【LeetCode】【字符串】题号:*299. 猜数字游戏
  8. agax分页查询必知知识,分页必须参数详解
  9. matlab 暂态稳定性,基于MATLAB的电力系统暂态稳定性仿真
  10. s7200cpu224xp手册_西门子S7-200 CPU224XP
  11. 【CNN】连续学习/持续学习,增量学习
  12. C# 将dataTable中的数据导出到excel表中
  13. 2022年全球与中国湿钽电容器行业发展趋势及投资战略分析报告
  14. 为什么微信显示这个android设备,微信显示安卓手机型号在哪设置
  15. 有想法阿里系工作的么?各个事业群,都可以挑选。
  16. 如何打包谷歌浏览器Chrome的扩展程序
  17. pandas 分类数据处理大全
  18. 树莓派开机运行Python文件
  19. iOS 使用UIBezierPath类实现随手画画板
  20. 学习笔记:《机器人SLAM导航核心技术与实战》序言

热门文章

  1. Android动画之旅-Android动画总结
  2. 如何画好素描?画好素描绘画有哪些技巧?
  3. 2021年G2电站锅炉司炉考试题及G2电站锅炉司炉新版试题
  4. ReactEurope Conf 参会感想
  5. 华硕启动修复无法自动修复此计算机怎么办,华硕笔记本电脑开机出现自动修复,无法修复怎么办?...
  6. 微信小程序 | 做一个小程序端的扫雷游戏
  7. CiteSpace学习笔记
  8. 草图大师免费模型分享2022.03.10之草图溜溜
  9. 数学分析:数项级数的概念
  10. 去除迅雷影音游戏弹窗