Welcome! American children are taught to do arithmetic with pencil and paper, but in Japan, China, and Russia, they are taught to use an abacus instead. Flicking beads is much faster than writing down digits, but requires greater mental focus, as the lack of a paper trail makes it harder to detect and fix mistakes.

I was surprised to learn that calculating square roots is only slightly more complicated than long division. Cube roots are hard, the final challenge for advanced students who have mastered all the more basic operations.

Here's a program to teach these techniques. All it requires is a C compiler with the standard libraries and a terminal that supports UTF-8 text and ANSI escape codes. Cut-and-paste and scrolling ability are helpful but not required. If linked with Readline, it supports command-line editing and history.

Compile with either "**gcc abacus.c**" or
"**apt install libreadline-dev; gcc -DREADLINE abacus.c -lreadline**"

It walks the user though every operation from addition to cube roots, each one building on the ones before. It can also give you the product, square, or cube of a random number so you can try dividing or rooting it yourself. For each calculation, it shows the shortest abacus that can do it with no loss of precision.

It offers an alternate method of multiplication and division for students who have not yet memorized the 9x9 multiplication table. It displays the abacus as a series of digits; its methods are equally valid for all styles of abacus.

Each historic abacus design has its advantages. The Chinese suanpan supports bases up to eighteen (their system of weights was base-16). The Japanese soroban has the best bead economy. And the Russian schoty is the fastest and simplest to operate.

Bead economy doesn't matter with plastic pony beads, so I prefer the Russian design, but with thirty to fifty digits. With a ten-bead abacus, one swipe of one finger changes a digit (no pinching), and 6×4 is either 20+4 or 30-6, never e.g. 50-20-5-1 or 50-30+5-1.

The tenth bead is not absolutely necessary, but it means that any time you add e.g. four to a digit, you're either moving four beads down, or moving all but four beads up.

Gallery of abacuses:

Foam board, 14mm spacing, no table saw needed.

Masonite with 1/8" nylon cord, 14mm spacing.

Plywood with 1/8" nylon cord, 13mm spacing.

Masonite pocket model, 12mm spacing.

Base-12 abacus

Always cut the base board and rails of the same material so they don't flex apart. Cut the notches deeper than the string requires so that pegs or pencaps can be shoved into them to mark locations on a long abacus.