Let's divide 172164 by 37
We want to divide 172164 by 37.

Advancing to step 1:
When dividing 1 by 37, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 37

Let's proceed to step 2:
37 can be fit into 17 0 times, resulting in a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 17 leaves us with 17.
Append the next digit (2) from the dividend to 17 and continue with: 172 / 37

Step 3:
The number 37 fits into 172 4 times, leaving a remainder of 24.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 148 from 172 and we're left with 24.
Append the next digit (1) from the dividend to 24 and continue with: 241 / 37

Let's proceed to step 4:
37 goes into 241 6 times with a remainder of 19.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
If we take 222 away from 241, we end up with 19.
Bring next digit (6) of the dividend behind the 19 and repeat the process: 196 / 37

Moving on to step 5:
The number 37 fits into 196 5 times, leaving a remainder of 11.
Put 5 as the next digit of the answer. 
Result so far: 465.0
Deduct 185 from 196 and we're left with 11.
Fetch the next digit (4) from the dividend, attach it to 11 and continue: 114 / 37

Let's proceed to step 6:
If we divide 114 by 37, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 4653.0
If we subtract 111 from 114, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
When dividing 30 by 37, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 4653.0
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
The number 37 fits into 300 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 4653.08
If we take 296 away from 300, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
If we divide 40 by 37, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 4653.081
The remainder is 3 after subtracting 37 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 10:
37 goes into 30 0 times with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 4653.081
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 11:
37 goes into 300 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 4653.08108
Subtract 296 from 300 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 12:
If we divide 40 by 37, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 4653.081081
Deduct 37 from 40 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 13:
37 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 4653.081081
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 14:
37 can be fit into 300 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 4653.08108108
The remainder is 4 after subtracting 296 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 4653.08108108, and the remainder is 4e-09.