
6 ◾ Computational Thinking for the Modern Problem Solver
e beads have values that increase right to le, just like the value of
digits in a decimal number or a Roman numeral have increasing value
from right to le. e rightmost spindle of beads below the bar are called
the 1s beads because each has a value of 1, while the beads of the rightmost
spindle above the bar are the 5s beads. For the second spindle from the
right below the bar are 10s beads and above the bar are 50s beads. e
third bar from the right has 100s beads below and 500s beads above, and
so forth.
Only the beads pushed as close as possible to the bar contribute to the ...