Section 01

The Ifa Divination Corpus — Overview

verified — UNESCO 2005

The Ifa divination system is the sacred knowledge tradition of the Yoruba people of southwestern Nigeria and the broader Yoruba diaspora. In 2005, UNESCO proclaimed Ifa part of the Intangible Cultural Heritage of Humanity, recognizing it as one of Africa’s most complex intellectual systems. verified

At its core, Ifa is administered by Babalawo (literally “father of secrets”), initiated priests who undergo a minimum of ten years of rigorous oral training. The corpus they commit to memory constitutes one of the largest oral literary traditions in the world — estimated at tens of thousands of verses across 256 categories. verified

For Ifa’s place within the broader family of binary and alphanumeric encoding systems, see Numeral Systems — Ifa Binary.

Ifa at a Glance

FeatureDetailStatus
Origin regionYorubaland (SW Nigeria, Benin, Togo)verified
Earliest attestationOral tradition; archaeological context c. 8th–11th century CEverified
Divination instrument16 palm nuts (ikin) or opele chainverified
Total Odù (categories)256verified
UNESCO recognition2005, Intangible Cultural Heritageverified
Primary deityOrunmila (deity of wisdom and divination)verified
Priestly classBabalawo (male) / Iyanifa (female, in some lineages)verified

The Ifa Divination Process

Divination proceeds through a formalized ritual. The client (onibode) presents a question or concern. The Babalawo then manipulates the 16 sacred palm nuts (ikin Ifa) or casts the opele chain (a chain of 8 half seed-pods) to determine which of the 256 Odù applies. The identified Odù is then recited aloud, including its associated myths, prescriptions, taboos, and remedies. verified

The mathematical structure of this casting process — producing exactly 256 binary combinations from a series of binary choices — constitutes the central numerical finding of this page. verified

Section 02

Ifa Binary Structure — 256 Odù

verified — peer-reviewed mathematics

The Ifa divination system operates on a binary combinatorial framework that is mathematically unambiguous and has been documented by multiple scholars including William Bascom (Ifa Divination, 1969) and Wande Abimbola (Ifa: An Exposition of Ifa Literary Corpus, 1976). The mathematics is not a modern reinterpretation — it is inherent in the casting procedure itself. verified

The Casting Mechanism — Palm Nuts (Ikin)

The Babalawo holds 16 palm nuts in both hands. He rapidly attempts to grab all of them with one hand:

Remaining NutsMark MadeBinary ValueStatus
1 nut remainsSingle mark (|)1verified
2 nuts remainDouble mark (||)0verified
0 or 3+ nuts remainNo mark — cast againverified

Only outcomes of 1 or 2 remaining nuts are valid. This ensures a strict binary choice at each step. Bascom (1969) documents this procedure in detail from fieldwork in Ilé-Ifè, Nigeria.

Building a Single Figure — 4 Binary Digits

Four successive valid casts produce a single figure (half-Odù). Each figure is a 4-bit binary number written vertically from top to bottom:

Cast 1: 2 nuts remain → || → 0 (top position) Cast 2: 1 nut remains → | → 1 Cast 3: 1 nut remains → | → 1 Cast 4: 2 nuts remain → || → 0 (bottom position) Result: 0 1 1 0 = one of the 16 base figures

With 4 binary positions, the total number of possible figures is:

Figures from 4 binary positions 24 = 16 possible figures
Each figure has a unique name, character, and set of associated verses. These 16 figures are called the Odù Méjì (principal Odù).

The Full Reading — Two Figures Combined

A complete Ifa reading requires two figures, placed side by side (right leg and left leg). This creates an 8-bit combination:

RIGHT LEG LEFT LEG (4 casts) (4 casts) || | | || | | || || 0 1 1 0 1 0 1 0 Combined: 0110 | 1010 = one of 256 possible Odù
Total Odù Combinations 16 × 16 = 256 Odù
Equivalently: 28 = 256
This is a complete 8-bit binary system. Every possible combination of 8 binary digits maps to exactly one Odù. The mathematics is unambiguous.

Opele Chain — Parallel Casting

The opele (divination chain) provides the same 256 outcomes in a single cast. It consists of 8 half seed-pods strung on a chain, each of which lands concave (1) or convex (0). A single throw produces the full 8-bit Odù simultaneously. verified

Opele chain layout (8 half-pods on a string): [pod1] [pod2] [pod3] [pod4] ← right leg -------- chain center -------- [pod5] [pod6] [pod7] [pod8] ← left leg Each pod: concave face up = 1, convex face up = 0 Total outcomes: 2^8 = 256

The opele is considered a faster but less solemn method than the ikin palm nuts. Both methods produce the same 256-outcome sample space. verified

Cross-System Comparison — Binary Divination Systems

SystemBase UnitCombinationsMethodStatus
I Ching (China)2 lines (yin/yang)64 (6-bit)Yarrow stalks / coinsverified
Ifa (Yoruba)2 marks (|, ||)256 (8-bit)Palm nuts / opele chainverified
Modern binary0 / 12nDigital logicverified
Sikidy (Madagascar)2 marks256 (8-bit)Seeds on groundverified
Geomancy (Arabic/European)2 marks65,536 (16-bit)Dots in sand / paperverified

Ifa and the I Ching are the two best-documented ancient binary systems. Ifa’s 8-bit structure produces 4× the combinations of the I Ching’s 6-bit structure. Both are demonstrably binary in the strict mathematical sense. For the I Ching analysis, see I Ching & Daoism.

Historical Significance

The Ifa system’s binary structure predates Leibniz’s formal description of binary arithmetic (1703) by several centuries at minimum. While Leibniz was aware of the I Ching, there is no documented evidence that he knew of Ifa. The independent emergence of a complete 8-bit binary system within an African divinatory framework is a major finding of ethnomathematics. verified

Ron Eglash’s African Fractals (1999) and other ethnomathematical studies have drawn attention to this system as evidence of sophisticated mathematical thinking in precolonial Africa. The binary nature is not an imposed modern reading — it is structurally inherent in the casting mechanics. verified

ClaimStatus
Ifa produces exactly 256 outcomes via binary combinatoricsverified
Each cast yields a strict binary choice (1 or 2 remaining nuts)verified
The system is isomorphic to an 8-bit binary numberverified
Opele chain produces the same 256 outcomes in parallelverified
Ifa binary structure predates Leibniz (1703)verified
Ifa directly influenced Leibniz’s binary arithmeticexploratory — no evidence
Section 03

The 16 Principal Odù

verified

The 16 Odù Méjì (principal Odù, literally “doubled Odù”) form the base alphabet of the Ifa system. Each corresponds to a 4-bit binary figure. When a principal Odù appears in a reading, both the right and left legs show the same figure (hence “Méjì” = “two” or “paired”). verified

The 16 Base Figures — Names and Binary Values

RankNameMarks (top→bottom)BinaryDecimal
1Ogbe| | | |111115
2Oyeku|| || || ||00000
3Iwori|| | | ||01106
4Odi| || || |10019
5Irosun| | || ||110012
6Owonrin|| || | |00113
7Obara| || || ||10008
8Okanran|| || || |00011
9Ogunda| | | ||111014
10Osa|| | | |01117
11Ika|| | || |01015
12Oturupon| || | ||101010
13Otura| | || |110113
14Irete|| || | ||00102
15Ose| || | |101111
16Ofun|| | || ||01004

The ranking follows the traditional Yoruba liturgical order, not numerical/binary order. This ordering is itself a culturally transmitted sequence memorized by every Babalawo. Note that Ogbe (all single marks = 1111) holds the highest rank, and Oyeku (all double marks = 0000) holds the second. verified

How 16 Becomes 256

When both legs of a reading show the same figure, the result is one of the 16 Odù Méjì (principal Odù). When the two legs differ, the result is an Amulu (combination Odù). The naming convention pairs the right-leg figure first, the left-leg figure second:

Example: Ogbe on right + Oyeku on left = “Ogbe-Oyeku” Example: Iwori on right + Odi on left = “Iwori-Odi” 16 Méjì (paired): 16 × 1 = 16 Odù Amulu (mixed): 16 × 15 = 240 Odù Total: 16 + 240 = 256 Odù
Combinatorial Verification Total ordered pairs from 16 elements = 162 = 256
This counts both same-figure pairs (Méjì) and different-figure pairs (Amulu). The distinction is liturgical, not mathematical — both types are equally valid divination outcomes.
Section 04

Ese Verses — The Oral Literary Corpus

verified — oral corpus, not a book

Each of the 256 Odù contains multiple ese (verses) — narrative poems that include mythology, history, moral instruction, pharmacological prescriptions, and ritual guidance. The ese constitute the actual “content” of Ifa divination; the binary casting merely determines which Odù’s verses to recite. verified

Corpus Size Estimates

EstimateSourceStatus
~1,000 ese per Odù (minimum)Abimbola (1976)verified
Up to 3,000+ ese per Odù (advanced Babalawo)Abimbola (1976), oral traditionremarkable
256 × 1,000 = 256,000 ese (conservative total)Calculatedexploratory
256 × 3,000 = 768,000 ese (upper estimate)Calculatedexploratory

These figures represent the theoretical total across all lineages and regional variants. No single Babalawo is expected to know every ese for every Odù. The corpus is distributed across practitioners, communities, and generations. Exact counts are inherently uncertain for a living oral tradition.

Structure of an Ese Verse

Each ese follows a recognizable formulaic structure, facilitating memorization and oral transmission:

1. NAME: The Odù is identified (e.g., “Ogbe Méjì says...”) 2. STORY: A mythological narrative involving orishas, humans, or animals 3. PROBLEM: A character faces a dilemma or crisis 4. DIVINATION: The character consults Ifa and receives guidance 5. SACRIFICE: Prescribed offerings are made 6. OUTCOME: Resolution — success if sacrifice is performed, failure if not 7. MORAL: A proverb or maxim summarizing the lesson

This seven-part structure is remarkably consistent across ese, suggesting a mnemonic framework that aids in the transmission of vast quantities of oral literature. verified

Transmission and Memorization

Ifa is an oral corpus, not a book. While modern scholars have transcribed portions of it, the authoritative form remains oral recitation by trained Babalawo. Apprenticeship lasts a minimum of 10 years, during which the student memorizes hundreds of ese under the supervision of a master. verified

The corpus is open-ended: new ese can be composed and integrated over time, reflecting historical events, new diseases, or changing social conditions. This makes Ifa a living literary tradition rather than a closed canon. verified

ClaimStatus
Ese follow a formulaic narrative structureverified
Babalawo training requires 10+ years of memorizationverified
Corpus is oral, open-ended, and livingverified
Total ese exceeds 250,000 across all lineagesexploratory — uncertain count
Section 05

Epic of Sundiata — Mande Numerical Structures

verified — oral corpus recorded 1960s by D.T. Niane

The Epic of Sundiata (Soundjata) is the foundational oral narrative of the Mande peoples of West Africa (Mali, Guinea, Gambia, Senegal). It recounts the life of Sundiata Keita, founder of the Mali Empire (r. c. 1235–1255 CE). The most widely known written version was recorded by Djibril Tamsir Niane from the griot Djeli Mamoudou Kouyaté and published in 1960 (French edition; English translation 1965). verified

The Number 7 as Structural Marker

The number 7 recurs as a prominent structural element throughout the Sundiata narrative:

MotifDetailStatus
Years of exile7 yearsverified — Niane (1965)
Hunters who prophesy Sundiata’s birth7 hunters (in some versions)verified — variant-dependent
Sundiata’s age when he first walks7 years oldverified — Niane (1965)
Number of trials or testsGroups of 7 in some tellingsexploratory

The heptadic (7-based) pattern is consistent across multiple recorded versions (Niane, Innes, Johnson). Whether this reflects a deep Mande numerological principle or a pan-human narrative convention remains an open question.

Oral Transmission by Griots

The Sundiata epic is transmitted by griots (jeli or djeli), hereditary oral historians, musicians, and genealogists who serve as custodians of Mande collective memory. The griot tradition parallels the Babalawo system in its emphasis on extended oral training and memorization, though the content and social function differ significantly. verified

Multiple recorded versions exist, each reflecting the particular griot’s lineage, region, and performative context:

Recorded VersionScholar/GriotDate
Soundjata ou l’épopée mandingueNiane / Kouyaté1960
Sunjata: Three Mandinka VersionsInnes1974
The Epic of Son-JaraJohnson / Diabaté1986/1992

Editorial Note on Oral Corpora

The Sundiata narrative is an oral corpus recorded in the 1960s–1990s by multiple scholars working with griot informants. It is not a “text” in the way that the Quran or the Bible is a text. Numerical patterns observed in any single transcription may reflect that particular performance rather than an invariant structural feature of the tradition. exploratory

ClaimStatus
7 years of exile is attested across multiple versionsverified
7 as age of first walking is in Niane’s versionverified
7 is a deep Mande cosmological numberexploratory
Numerical patterns are invariant across all performancesdisputed
Section 06

Akan Calendar & Numerical Systems

remarkable cross-cultural outlier

The Akan people of southern Ghana and Côte d’Ivoire developed a calendrical system that diverges significantly from the 7-day week that dominates most world cultures. The Akan week has 6 days, not 7 — making it a notable outlier in cross-cultural calendrical studies. verified

The Akan 6-Day Week

Day NumberAkan NameAssociated Traits
1DwodaCalmness, patience
2BenadaCompassion
3WukuadaVitality
4YawdaAggression, tenacity
5FidaFertility, wandering
6MemenedaIntrospection

Akan day-names are used as personal names (kradin), assigned based on the day of birth. This is a living cultural practice. The 7-day week was also known to the Akan (adopted from Islamic and European contact) and coexists with the 6-day cycle.

The 42-Day & 54-Day Cycles

Akan calendrical computation employs longer cycles built from the 6-day week:

Akan Cycles 6-day week × 7 = 42-day cycle (adaduanan)
6-day week × 9 = 54-day cycle (variant attestation)
The 42-day cycle (adaduanan) is the best-attested longer cycle in Akan timekeeping. The interaction of 6 and 7 (6 × 7 = 42) creates a cycle that integrates both indigenous and adopted week-lengths.
ClaimStatus
Akan use a 6-day week as indigenous cycleverified
42-day adaduanan cycle is well attestedverified
6-day week predates European contactverified
6-day week is a cross-cultural outlier vs. 7-day normremarkable
54-day cycle (9 × 6) as formal periodexploratory

Akan Counting and Number Symbolism

The Akan numeral system is decimal (base-10), with distinct terms for numbers 1 through 10 and compositional terms thereafter. Certain numbers carry symbolic weight:

NumberSignificanceStatus
7Spiritual completeness; used in purification ritesverified
3Male principleverified
4Female principleverified
3 + 4 = 7Union of male and femaleverified
9Associated with Ntoa (a spiritual force); crisis, turning pointsexploratory

The 3+4=7 male/female synthesis appears in Akan proverbs and ritual practice. It parallels similar gender-number associations found in Chinese, Greek, and other traditions, though direct contact or influence is not established.

Section 07

Dogon Cosmology — A Cautionary Case

disputed — contested ethnography

The Dogon are a people of the Bandiagara Escarpment in Mali. Since the mid-20th century, claims about Dogon astronomical knowledge — particularly alleged knowledge of the Sirius star system — have circulated widely in both popular and academic literature. These claims require careful critical evaluation. disputed

Griaule’s Claims — Dieu d’Eau (1948)

French anthropologist Marcel Griaule, based on fieldwork conducted primarily between 1931 and 1946, published Dieu d’Eau: Entretiens avec Ogotemmeli (1948), which presented the Dogon elder Ogotemmeli’s cosmological teachings. Key claims included:

ClaimDetailStatus
Knowledge of Sirius BDogon allegedly knew Sirius has an invisible companion stardisputed
50-year orbital periodClaim that Dogon knew the ~50-year orbital period of Sirius Bdisputed
Sirius B is “heavy”Alleged knowledge that the companion is a dense (white dwarf) stardisputed
Number symbolism (8, 22, 266)Complex numerological cosmogony involving paired twins, seeds, spiralsdisputed

Griaule’s work, further elaborated with Germaine Dieterlen in Le Renard Pâle (1965), presented an extraordinarily complex cosmological system with specific numerical structures.

Van Beek’s Counter-Study — “Dogon Restudied” (1991)

Dutch anthropologist Walter van Beek conducted independent fieldwork among the Dogon in the 1980s and published “Dogon Restudied: A Field Evaluation of the Work of Marcel Griaule” in Current Anthropology (1991). His findings were devastating to Griaule’s framework: verified — peer-reviewed

Van Beek FindingDetail
No independent knowledge of Sirius BDogon informants did not volunteer knowledge of a companion star to Sirius when questioned without leading prompts
Griaule’s methodology questionedEvidence of leading questions, interpreter mediation, and possible projection of expected answers
Cosmological system not widely sharedThe elaborate system Griaule reported was not recognized by most Dogon elders van Beek interviewed
Possible contaminationDogon had contact with French colonial schools and missionaries who could have transmitted astronomical knowledge

Van Beek’s critique was published with extensive peer commentary in Current Anthropology, a leading journal. Multiple respondents supported the substance of his methodological concerns, though some defended aspects of Griaule’s ethnographic contribution.

Assessment

The Dogon case is included here as a cautionary example of how claims about “ancient mathematical knowledge” can emerge from problematic ethnographic methodology. It serves as a counterweight to the verified findings elsewhere on this page. exploratory

ClaimStatus
Griaule published Dieu d’Eau (1948) with Dogon cosmological claimsverified — the book exists
Van Beek (1991) failed to replicate Griaule’s findingsverified — peer-reviewed
Dogon had pre-contact knowledge of Sirius Bdisputed
Dogon numerical cosmology as presented by Griaule is authenticdisputed
Dogon possess genuine astronomical traditions (non-Sirius)exploratory
Section 08

Cross-Cultural Connections

exploratory

West African numerical and divinatory systems intersect with traditions documented elsewhere on Codex Numerica in several notable ways. These parallels range from structurally verified to speculatively proposed.

Ifa ↔ I Ching: Binary Divination

The most striking cross-cultural parallel is between the Ifa system (Yoruba, 256 Odù, 8-bit) and the I Ching (Chinese, 64 hexagrams, 6-bit). Both systems:

Shared FeatureIfaI ChingStatus
Binary base unitSingle (|) vs. double (||)Solid (—) vs. broken (- -)verified
Recursive combination4-bit → 16; 8-bit → 2563-bit → 8; 6-bit → 64verified
Exhaustive enumerationAll 28 states listedAll 26 states listedverified
Attached literary corpusEse verses (oral)Judgments & line texts (written)verified
Priestly/scholarly classBabalawoScholar-divinersverified

The structural parallel is mathematically exact: both are complete binary enumeration systems of different bit-lengths. Whether this reflects independent invention, deep cognitive universals, or some form of historical contact (e.g., via Indian Ocean trade routes connecting East Africa to Asia) remains an open question. Most scholars favor independent invention. See I Ching & Daoism for the Chinese system. exploratory

The Number 7 Across Traditions

The prominence of 7 in Mande oral tradition (Sundiata’s 7 years of exile, 7 hunters) connects to a near-universal pattern:

TraditionUse of 7Page
Mande (Sundiata)7 years exile, 7 huntersThis page
Hebrew Bible7 days creation, 7th-day SabbathHebrew Bible
Quran7 heavens, 7 earthsQuran
Buddhism7 steps of the newborn BuddhaBuddhism
Hinduism7 chakras, 7 sagesVedas
Ancient Egypt7 palms per cubitAncient Egypt

The near-universality of 7 likely reflects cognitive and perceptual factors (Miller’s “magical number 7 ± 2” for working memory) rather than cultural diffusion. exploratory

Akan 6-Day Week as Cross-Cultural Outlier

The Akan 6-day week is a notable exception to the global prevalence of the 7-day week:

CultureWeek LengthOrigin
Babylonian / Jewish / Christian / Islamic7 daysMesopotamian, spread globally
Roman (pre-adoption)8 days (nundinae)Market cycle
Akan (Ghana)6 daysIndigenous West African
Igbo (Nigeria)4 days (Eke, Orie, Afo, Nkwo)Indigenous West African
Javanese (Indonesia)5 days (pasaran)Indigenous Southeast Asian

The existence of 4-, 5-, 6-, and 8-day weeks in various cultures demonstrates that the 7-day week is a cultural convention, not a mathematical or astronomical necessity. The Akan 6-day week is among the best-documented non-7-day systems. remarkable

Ifa ↔ Geomancy Transmission

Historical and structural evidence strongly suggests that Arabic/European geomancy (‘ilm al-raml, “science of the sand”) derives from or is closely related to the Ifa/Sikidy family of divination systems. The transmission route likely ran from West Africa through North Africa to the medieval Islamic world and thence to medieval Europe. remarkable

ClaimStatus
Geomancy shares binary structure with Ifaverified
Historical transmission West Africa → Islamic worldremarkable — strong circumstantial evidence
Direct causal link establishedexploratory — debated direction of transmission
Section 09

References & Sources

primary sources

Ifa Divination

Abimbola, Wande. (1976). Ifa: An Exposition of Ifa Literary Corpus. Ibadan: Oxford University Press Nigeria. — The foundational scholarly study of Ifa’s literary and mathematical structure.

Bascom, William. (1969). Ifa Divination: Communication Between Gods and Men in West Africa. Bloomington: Indiana University Press. — Detailed ethnographic documentation of the casting procedure, based on fieldwork in Ilé-Ifè.

Eglash, Ron. (1999). African Fractals: Modern Computing and Indigenous Design. New Brunswick: Rutgers University Press. — Ethnomathematical analysis of binary and recursive structures in African knowledge systems, including Ifa.

UNESCO. (2005). “Ifa Divination System.” Proclamation of Masterpieces of the Oral and Intangible Heritage of Humanity. ich.unesco.org

Mande Oral Tradition

Niane, D.T. (1960/1965). Soundjata ou l’épopée mandingue. Paris: Présence Africaine. English translation: Sundiata: An Epic of Old Mali (1965). London: Longman. — The most widely read version, recorded from griot Djeli Mamoudou Kouyaté.

Innes, Gordon. (1974). Sunjata: Three Mandinka Versions. London: SOAS. — Three independent Gambian performances, useful for cross-version numerical comparison.

Johnson, John William. (1986/1992). The Epic of Son-Jara: A West African Tradition. Bloomington: Indiana University Press. — Recorded from Fa-Digi Sisòkò; includes extensive scholarly apparatus.

Akan Calendar & Number Systems

Rattray, R.S. (1923). Ashanti. Oxford: Clarendon Press. — Early ethnographic documentation of Akan calendrical and naming practices.

Zaslavsky, Claudia. (1973). Africa Counts: Number and Pattern in African Cultures. Boston: Prindle, Weber & Schmidt. — Survey of African mathematical systems including Akan numeration and calendrics.

Dogon Cosmology

Griaule, Marcel. (1948). Dieu d’Eau: Entretiens avec Ogotemmeli. Paris: Éditions du Chêne. English: Conversations with Ogotemmeli (1965). — The original source of Dogon cosmological claims.

Griaule, Marcel & Dieterlen, Germaine. (1965). Le Renard Pâle. Paris: Institut d’Ethnologie. — Extended elaboration of Dogon cosmological numerology.

van Beek, Walter E.A. (1991). “Dogon Restudied: A Field Evaluation of the Work of Marcel Griaule.” Current Anthropology, 32(2), 139–167. — The definitive critical re-evaluation; includes extensive peer commentary.

Cross-Cultural & Ethnomathematics

Ascher, Marcia. (1991). Ethnomathematics: A Multicultural View of Mathematical Ideas. Pacific Grove: Brooks/Cole. — Comparative analysis of mathematical structures in non-Western cultures.

Eglash, Ron. (1997). “Bamana Sand Divination: Recursion in Ethnomathematics.” American Anthropologist, 99(1), 112–122. — Analysis of recursive and binary structures in West African divination.

Leibniz, G.W. (1703). “Explication de l’Arithmétique Binaire.” Mémoires de l’Académie Royale des Sciences. — Leibniz’s formal description of binary arithmetic, postdating Ifa by centuries.