انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Lecture_6

الكلية كلية تكنولوجيا المعلومات     القسم قسم البرامجيات     المرحلة 4
أستاذ المادة الحارث عبد الكريم عبد الله الخفاجي       11/02/2017 21:19:09
Divisibility
b divides a if a=mb for some m, where a,b and m are integers
b|a
b is a divisor of a
gcd(a, b): greatest common divisor of a and b
Euclidean algorithm can find gcd
Two integers, a and b, are relatively prime if
gcd(a, b) = 1
Prime Numbers
An integer p>1 is a prime number if and only if its only divisors are ±1 and ±p
Any integer a > 1 can be factored as:

where p1 < p2 < ... < pt are prime numbers and where each ai is a positive integer

Modular Arithmetic
If a is an integer and n is a positive integer, we define a mod n to be the remainder when a is divided by n
n is called the modulus
Two integers a and b are congruent modulo n if
(a mod n) = (b mod n), which is written as

(mod n) operator maps all integers into the set of integers
Zn ={0,1,...,(n?1)}
Modular arithmetic performs arithmetic operations within confines of set Zn
Properties of Modular Arithmetic
Rules of ordinary arithmetic involving addition, subtraction, and multiplication also apply in modular arithmetic


المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .