

تاريخ الرياضيات

الاعداد و نظريتها

تاريخ التحليل

تار يخ الجبر

الهندسة و التبلوجي


الرياضيات في الحضارات المختلفة

العربية

اليونانية

البابلية

الصينية

المايا

المصرية

الهندية


الرياضيات المتقطعة

المنطق

اسس الرياضيات

فلسفة الرياضيات

مواضيع عامة في المنطق


الجبر

الجبر الخطي

الجبر المجرد

الجبر البولياني

مواضيع عامة في الجبر

الضبابية

نظرية المجموعات

نظرية الزمر

نظرية الحلقات والحقول

نظرية الاعداد

نظرية الفئات

حساب المتجهات

المتتاليات-المتسلسلات

المصفوفات و نظريتها

المثلثات


الهندسة

الهندسة المستوية

الهندسة غير المستوية

مواضيع عامة في الهندسة

التفاضل و التكامل


المعادلات التفاضلية و التكاملية

معادلات تفاضلية

معادلات تكاملية

مواضيع عامة في المعادلات


التحليل

التحليل العددي

التحليل العقدي

التحليل الدالي

مواضيع عامة في التحليل

التحليل الحقيقي

التبلوجيا

نظرية الالعاب

الاحتمالات و الاحصاء

نظرية التحكم

بحوث العمليات

نظرية الكم

الشفرات

الرياضيات التطبيقية

نظريات ومبرهنات


علماء الرياضيات

500AD

500-1499

1000to1499

1500to1599

1600to1649

1650to1699

1700to1749

1750to1779

1780to1799

1800to1819

1820to1829

1830to1839

1840to1849

1850to1859

1860to1864

1865to1869

1870to1874

1875to1879

1880to1884

1885to1889

1890to1894

1895to1899

1900to1904

1905to1909

1910to1914

1915to1919

1920to1924

1925to1929

1930to1939

1940to the present

علماء الرياضيات

الرياضيات في العلوم الاخرى

بحوث و اطاريح جامعية

هل تعلم

طرائق التدريس

الرياضيات العامة

نظرية البيان
Parity
المؤلف:
Gardner, M. "Parity Checks."
المصدر:
Ch. 8 in The Sixth Book of Mathematical Games from Scientific American. Chicago, IL: University of Chicago Press
الجزء والصفحة:
...
29-8-2020
1160
Parity
The parity of an integer is its attribute of being even or odd. Thus, it can be said that 6 and 14 have the same parity (since both are even), whereas 7 and 12 have opposite parity (since 7 is odd and 12 is even).
A different type of parity of an integer
is defined as the sum
of the bits in binary representation, i.e., the digit count
, computed modulo 2. So, for example, the number
has two 1s in its binary representation and hence has parity 2 (mod 2), or 0. The parities of the first few integers (starting with 0) are therefore 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, ... (OEIS A010060), as summarized in the following table.
![]() |
binary | parity | ![]() |
binary | parity |
| 1 | 1 | 1 | 11 | 1011 | 1 |
| 2 | 10 | 1 | 12 | 1100 | 0 |
| 3 | 11 | 0 | 13 | 1101 | 1 |
| 4 | 100 | 1 | 14 | 1110 | 1 |
| 5 | 101 | 0 | 15 | 1111 | 0 |
| 6 | 110 | 0 | 16 | 10000 | 1 |
| 7 | 111 | 1 | 17 | 10001 | 0 |
| 8 | 1000 | 1 | 18 | 10010 | 0 |
| 9 | 1001 | 0 | 19 | 10011 | 1 |
| 10 | 1010 | 0 | 20 | 10100 | 0 |
A generating function for parity is given by
![]() |
(1) |
The constant generated by interpreting the sequence of parity digits as a binary fraction
is called the Thue-Morse constant.
The parity function obeys the sum identity
![]() |
(2) |
for any
. For example, for
and
,
![]() |
(3) |
REFERENCES:
Commission on Mathematics of the College Entrance Examination Board. Informal Deduction in Algebra: Properties of Odd and Even Numbers. Princeton, NJ, 1959.
Gardner, M. "Parity Checks." Ch. 8 in The Sixth Book of Mathematical Games from Scientific American. Chicago, IL: University of Chicago Press, pp. 71-78, 1984.
Sloane, N. J. A. Sequence A010060 in "The On-Line Encyclopedia of Integer Sequences."
الاكثر قراءة في نظرية الاعداد
اخر الاخبار
اخبار العتبة العباسية المقدسة
الآخبار الصحية






قسم الشؤون الفكرية يصدر كتاباً يوثق تاريخ السدانة في العتبة العباسية المقدسة
"المهمة".. إصدار قصصي يوثّق القصص الفائزة في مسابقة فتوى الدفاع المقدسة للقصة القصيرة
(نوافذ).. إصدار أدبي يوثق القصص الفائزة في مسابقة الإمام العسكري (عليه السلام)