### Calculating with numbers: Computing with integers

### Long division

The following examples explain how to carry out long division. They are in ascending order of degree of difficulty. With larger dividens you must repeat calculation steps more often.

We describe how to do this in steps:

The long division is a tree-stage rocket in this case: \[\begin{aligned} \begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{27}7 & \!\!\! \Bigm{\backslash} \end{array}\qquad\qquad & \begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{27}7 & \!\!\! \Bigm{\backslash} \; 4 \\ & \underline{24}\phantom{0} & \\ & \phantom{0}3\phantom{0} & \end{array} \qquad\quad & \begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{277} & \!\!\! \Bigm{\backslash} \; 46\;\;\blue{\leftarrow \textit{quotient}} \\ & \underline{24}\phantom{0} & \\ & \phantom{0}37 & \\ & \phantom{0}\underline{36} & \\ & \phantom{00}1 & \blue{\leftarrow \textit{remainder}}\end{array} \end{aligned} \]

- Start with writing the division as \(\textit{divisor} \Bigm/ \textit{dividend} \Bigm{\backslash}\)

In this case, this is \( 6 \Bigm/ 277 \Bigm{\backslash}\)

To the right of the backslash will appear the quotient digit by digit.

Below the dividend will grow with the computational details, with the remainder in the division at the end. - Search in \(277\) the shortest initial part of the digits forming a number greater than or equal to the divisor \(6\): that is \(27\) in this case.

You can indicate this by underling the starting part: \( 6 \Bigm/ \underline{27}7 \Bigm{\backslash}\) - Calculate the largest multiple of the divisor \(6\) that is less than or equal to the number \(27\): that is \(4\times 6 =24\). Write \(4\) as first digit after the backslash in the top line, and write \(24\) under the initial part \(27\) and then subtract this number. This step is visualised below. \[\begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{27}7 & \!\!\! \Bigm{\backslash} \; 4 \\ & \underline{24}\phantom{0} & \\ & \phantom{0}3\phantom{0} & \end{array}\]
- Underline now the next digit (here \(7\) ) in the dividend \(277\) and also concatenate this digit to the \(3\) on the bottom line, so that the number \(37\) is formed. Repeat now step three with this number.

Calculate the largest multiple of the divisor \(6\) that is less than or equal to the number \(37\): that is \(6\times 6 =36\). Write \(6\) as next digit in the top line, and write \(36\) under \(37\) and then subtract this number. On the bottom line you get \(1\) and this is the remainder of the division.

This step is visualised below. \[\begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{277} & \!\!\! \Bigm{\backslash} \; 46 \\ & \underline{24}\phantom{0} & \\ & \phantom{0}37 & \\ & \phantom{0}\underline{36} & \\ & \phantom{00}1 & \end{array}\] - The quotient equals \(46\) and the remainder equals \(1\).

The long division is a tree-stage rocket in this case: \[\begin{aligned} \begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{27}7 & \!\!\! \Bigm{\backslash} \end{array}\qquad\qquad & \begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{27}7 & \!\!\! \Bigm{\backslash} \; 4 \\ & \underline{24}\phantom{0} & \\ & \phantom{0}3\phantom{0} & \end{array} \qquad\quad & \begin{array}[t]{rrl} 6\;\Bigm/ \!\!\! & \underline{277} & \!\!\! \Bigm{\backslash} \; 46\;\;\blue{\leftarrow \textit{quotient}} \\ & \underline{24}\phantom{0} & \\ & \phantom{0}37 & \\ & \phantom{0}\underline{36} & \\ & \phantom{00}1 & \blue{\leftarrow \textit{remainder}}\end{array} \end{aligned} \]

The result of division with remainder is: \(277=46\times 6+1\) (you can use this to check the answer), that is \(277 : 6 = 46\textit{ remainder }1\).

This implies the following exact result of division in mixed notation: \(277 : 6 = 46\tfrac{1}{6}\).