TEACHING HOPPY TO DIVIDE WIHOUT REMAINDER, say,
12 ÷ 4
BY "ROW-TO-TABLE ALGORITHM"
For DIVIDEND of
12
, HOPPY constructs ROW OF 12 COUNTABLES:
* * * * * * * * * * * *
Given DIVISOR of
4
, HOPPY REDISTRIBUTES THE 12 COUNTABLES in COLUMNS OF EQUAL COUNTABLES,
starting with FIRST COLUMN of
4
(taking 4 away from ORIGINAL ROW):
* * * * * * * * * * * *
Then SECOND COLUMN of
4
(taking 4 away from ORIGINAL ROW):
* * * * * * * * * * * *
Then THIRD COLUMN of
4
(finding this leaves ZERO REMAINDER in ROW):
* * * * * * * * * * * *
Hoppy then COUNTS COLUMNS: 3 -- SO PRINTS 12 ÷ 4 = 3.
EXAMPLE with HOP-SQUARES and FLOWCHARTS [UNDER CONSTRUCTION].
How Hoppy Divides, with Remainder, say,
14 ÷ 4
For DIVIDEND of
14
, HOPPY constructs ROW OF 14 COUNTABLES:
* * * * * * * * * * * * * *
Given DIVISOR oF
4
, HOPPY REDISTRIBUTES these in COLUMNS OF EQUAL COUNTABLES,
starting with FIRST COLUMN of 4 (taking 4 away from ROW):
* * * * * * * * * * * * * *
Then SECOND COLUMN of 4 (taking 4 away from ROW):
* * * * * * * * * * * * * *
Then THIRD COLUMN of 4 (finding this leaves remainder of 2 in ROW):
* * * * * * * * * * * * * *
Hoppy COUNTS COLUMNS: 3 COLUMNS, with REMAINDER OF 2 COUNTABLES.
Hoppy PRINTS 14 ÷ 4 = 3, R = 2.
EXAMPLE
with STAGES and (UNFOLDED) FLOWCHARTS.
Hoppy divides other DIVIDENDS similarly.