The Ifa Abacus Project

Ifa Abacus (Ifabacus), also known as Ifa's Abacus, is Ẹ̀rọ Ọpọ́n Ifá Ìṣirò (Ọpọ́nfáṣirò) in Yorùbá: the carved Ifá Tablet (IfaTab) turned into a counting board, i.e., the Ifa Counting Board, where cowries, palm nuts, kola nuts and Odù marks teach math and computing.

Ifa's Abacus: Ọpọ́n Ifá Ìṣirò (Ọpọ́nfáṣirò)Tap the beads or the marks in the Ìyẹ̀rosùn dust/powder. The tray counts with you.

0òdozero, an empty tray

Choose your board

What the tray says

Ìpèníjà · Challenge

★ 0

Àwòrán tó ń'rìn: video introduction to the Ifa Abacus

Watch how computer science (CS) emerged from Odù Ifá, from Ifá's binary marks to modern bits, to the Ifabacus project and the Ọpọ́nfáṣirò device.

Odù Ifá-Based Computer Science · The TOE UniversityWatch on YouTube →

The Ayò Ọlọ́pọ́nfá Kit: the physical Ifa AbacusẸ̀rọ Ọpọ́n Ifá Ìṣirò (Ọpọ́nfáṣirò) you can hold in your hands

The physical Ifa Abacus is the Ayò Ọlọ́pọ́nfá Kit, made in two versions. Both have 16 pots, one for each principal Odù Ifá, so children count, add and subtract with real Ayò seeds or pebbles (òkúta) on the same layout they meet on screen.

Carved wooden version
Two hinged wooden halves with 16 carved pots. Each pot has 8 holes, four on the right and four on the left, holding Ayò seeds or pebbles in the pattern of an Odù, following the architecture of Odù Ifá on the divination board (Ọpọ́n Ifá). It folds shut and latches for carrying.
Ayò Ọlọ́pọ́nfá Mat
A patterned mat with 16 smooth, round pots in two rows of eight, divided by a decorated centre band. Seeds are placed, moved and counted in each pot.
Visit the Ayò Ọlọ́pọ́nfá Kit homepage →

Use it with the playground

  1. Hands and screen together. Set a number on the Kit, make the same number in the playground above and read its Yorùbá word.
  2. Ìpèníjà, off screen. Take a challenge from the playground and solve it on Ọpọ́nfáṣirò.
  3. From òkúta to anzan. Count with real pieces first, then picture them in your mind and calculate without the Kit.
The carved wooden version · 54 sOpen video →
The Ayò Ọlọ́pọ́nfá Mat · 52 sOpen video →

Four boards, one tray

Abacuses from around the world all use the same trick: a bead's position tells you its value. The Ọpọ́nfáṣirò brings four of them onto one Ifá tray, each counted with a different sacred object.

Yorùbá counts in twenties, and it subtracts

Yorùbá is one of the world's cleverest counting systems. It groups by twenty (ogún), and numbers just below a ten are said as "less than" the next one. Sixteen is ẹ̀rìndínlógún: four less than twenty. That is real mental math hiding inside everyday words.

16

Èjìodù: The IfaByte

Each Odù is one leg of four marks, single ( I ) or double ( II ): 4 bits. Ifá sets two legs side by side, four marks on the right and four on the left, to make an Èjìodù. Eight yes-or-no marks give 2⁸ = 256 Èjìodù, exactly the number of values in one computer byte: the IfaByte. Here a single mark is 1, a double mark is 0, and the right leg (read first) is the high half.

Did you know that the black people of ancient Egypt manipulated the pebbles (òkúta) from right to left, just as it's done in Ifa Tradition (Yorùbá/Ifẹ̀ culture), opposite in direction to the Greek left-to-right method?Source: Herodotus, Histories, Book 2, chapter 36.

The 16 principal Odù Méjì (both legs the same) are arranged from right to left, as in Ifá. Tap one to load it into the playground.

# Èjìodù to IfaByte, in Python
right, left = "1111", "0110"   # Ogbè (right), Ìwòrì (left)
byte = right + left
n = int(byte, 2)
print(byte, n, hex(n))
# 11110110 246 0xf6  → Ogbè Ìwòrì

Lessons for every age

Ten minutes a day on the tray is enough. Start where your age fits, then move up a board.

Ages 5 to 8

Ka owó ẹyọ

Count cowries on the Soroban board.

  1. Make 1 to 10 and say each number in Yorùbá.
  2. Notice the top cowrie is worth five (àrún).
  3. Win 5 stars on Ìpele 1 "Make the number".
Ages 8 to 11

Àròpọ̀ pẹ̀lú ikin

Add with palm nuts on the Suanpan board.

  1. Show 8, then add 7 on the same rod: it holds 15.
  2. Carry ten across to the next rod.
  3. Play "Àròpọ̀" and "Àyọkúrò" at Ìpele 2.
Ages 10 to 13

Ka ní ogún-ogún

Count in twenties with kola nuts.

  1. Make 16 and read it as 20 − 4.
  2. Make 400 (irínwó): one kola on the third rod.
  3. Explain why 15 is ẹ̀ẹ́dógún, "five less than twenty".
Ages 12 to 17

Èjìodù gẹ́gẹ́ bí byte

Binary, hex and code with Odù marks.

  1. Find the Èjìodù for 255, 0 and 170.
  2. Read each leg as one hex digit.
  3. Run the Python above and print all 256 Èjìodù.