We look at the division of 312876 by 58 
We want to figure out the number of times 312876 can be divided by 58.

On to step 1:
When dividing 3 by 58, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 58

Advancing to step 2:
When dividing 31 by 58, we get 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 58

Moving on to step 3:
312 divided by 58 is 5 with a remainder of 22.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 290 from 312 to get 22.
Grab the next digit (8) from the dividend, add it to 22, then carry on: 228 / 58

Moving on to step 4:
58 goes into 228 3 times with a remainder of 54.
Write down 3 as next digit of the result. 
Result so far: 53.0
The remainder is 54 after subtracting 174 from 228.
Append the next digit (7) from the dividend to 54 and continue with: 547 / 58

Let's proceed to step 5:
58 goes into 547 9 times with a remainder of 25.
The next digit of our result is 9. 
Result so far: 539.0
Deduct 522 from 547 and we're left with 25.
Fetch the next digit (6) from the dividend, attach it to 25 and continue: 256 / 58

Let's proceed to step 6:
58 can be fit into 256 4 times, resulting in a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 5394.0
Subtracting 232 from 256 leaves us 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.

On to step 7:
If we divide 240 by 58, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 5394.4
If we subtract 232 from 240, 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.

Advancing to step 8:
58 goes into 80 1 times with a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 5394.41
If we take 58 away from 80, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 9:
220 divided by 58 is 3 with a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 5394.413
Deduct 174 from 220 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 10:
58 goes into 460 7 times with a remainder of 54.
Use 7 as the next digit of our solution. 
Result so far: 5394.4137
If we take 406 away from 460, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 11:
When dividing 540 by 58, we get 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 5394.41379
Subtract 522 from 540 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
The number 58 fits into 180 3 times, leaving a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 5394.413793
Subtract 174 from 180 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
60 divided by 58 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 5394.4137931
Subtract 58 from 60 to 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.

On to step 14:
58 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 5394.4137931
If we take 0 away from 20, we end up 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.

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