We divide 31851 by 47
We want to figure out the number of times 31851 can be divided by 47.

Advancing to step 1:
47 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 47

Let's proceed to step 2:
If we divide 31 by 47, we get 0 and a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Fetch the next digit (8) from the dividend, attach it to 31 and continue: 318 / 47

Advancing to step 3:
When dividing 318 by 47, we get 6 with a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 36 after subtracting 282 from 318.
Include the next digit (5) from the dividend after 36, then repeat: 365 / 47

Advancing to step 4:
47 can be fit into 365 7 times, resulting in a remainder of 36.
Put 7 as the next digit of the answer. 
Result so far: 67.0
Subtract 329 from 365 to get 36.
Bring next digit (1) of the dividend behind the 36 and repeat the process: 361 / 47

Step 5:
The number 47 fits into 361 7 times, leaving a remainder of 32.
Use 7 as the next digit of our solution. 
Result so far: 677.0
Subtract 329 from 361 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 6:
47 goes into 320 6 times with a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 677.6
If we take 282 away from 320, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 7:
When dividing 380 by 47, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 677.68
If we subtract 376 from 380, we 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.

On to step 8:
47 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 677.68
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 9:
400 divided by 47 is 8 with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 677.6808
The remainder is 24 after subtracting 376 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
47 goes into 240 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 677.68085
If we take 235 away from 240, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
If we divide 50 by 47, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 677.680851
Deduct 47 from 50 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.

Step 12:
If we divide 30 by 47, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 677.680851
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.

On to step 13:
47 goes into 300 6 times with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 677.68085106
Subtracting 282 from 300 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 677.68085106 and a remainder of 1.8e-08.