Let's divide 164142 by 34
We want to figure out the number of times 164142 can be divided by 34.

Going ahead to step 1:
34 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 34

Step 2:
The number 34 fits into 16 0 times, leaving a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 34

On to step 3:
The number 34 fits into 164 4 times, leaving a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 136 from 164, we get 28.
Bring next digit (1) of the dividend behind the 28 and repeat the process: 281 / 34

On to step 4:
34 can be fit into 281 8 times, resulting in a remainder of 9.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
The remainder is 9 after subtracting 272 from 281.
Fetch the next digit (4) from the dividend, attach it to 9 and continue: 94 / 34

On to step 5:
The number 34 fits into 94 2 times, leaving a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 482.0
Deduct 68 from 94 and we're left with 26.
Append the next digit (2) from the dividend to 26 and continue with: 262 / 34

Going ahead to step 6:
262 divided by 34 is 7 with a remainder of 24.
Use 7 as the next digit of our solution. 
Result so far: 4827.0
Deduct 238 from 262 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 7:
If we divide 240 by 34, we get 7 and a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 4827.7
If we subtract 238 from 240, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
20 divided by 34 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 4827.7
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
34 goes into 200 5 times with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 4827.705
Subtracting 170 from 200 leaves us 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.

Going ahead to step 10:
34 goes into 300 8 times with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 4827.7058
Subtracting 272 from 300 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
34 can be fit into 280 8 times, resulting in a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 4827.70588
If we subtract 272 from 280, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 4827.70588, and the remainder is 8e-06.