Let's divide 340416 by 58
Our goal is to divide 340416 by 58.

Let's proceed to step 1:
When dividing 3 by 58, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 58

Let's proceed to step 2:
58 goes into 34 0 times with a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 34 to get 34.
Take the next digit (0) from the dividend and append it to 34, then repeat: 340 / 58

Step 3:
58 goes into 340 5 times with a remainder of 50.
The next digit of our result is 5. 
Result so far: 5.0
The remainder is 50 after subtracting 290 from 340.
Include the next digit (4) from the dividend after 50, then repeat: 504 / 58

On to step 4:
58 can be fit into 504 8 times, resulting in a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 58.0
Subtract 464 from 504 to get 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 58

Let's proceed to step 5:
The number 58 fits into 401 6 times, leaving a remainder of 53.
The number 6 becomes the next digit in our result. 
Result so far: 586.0
Deduct 348 from 401 and we're left with 53.
Include the next digit (6) from the dividend after 53, then repeat: 536 / 58

Moving on to step 6:
58 can be fit into 536 9 times, resulting in a remainder of 14.
Put 9 as the next digit of the answer. 
Result so far: 5869.0
If we subtract 522 from 536, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 7:
58 can be fit into 140 2 times, resulting in a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 5869.2
If we take 116 away from 140, we end up 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.

Advancing to step 8:
58 can be fit into 240 4 times, resulting in a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 5869.24
Subtracting 232 from 240 leaves us with 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 9:
58 goes into 80 1 times with a remainder of 22.
The next digit of our result is 1. 
Result so far: 5869.241
Deduct 58 from 80 and we're left 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.

Advancing to step 10:
58 goes into 220 3 times with a remainder of 46.
The next digit of our result is 3. 
Result so far: 5869.2413
If we take 174 away from 220, we end up 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.

Going ahead to step 11:
The number 58 fits into 460 7 times, leaving a remainder of 54.
The number 7 becomes the next digit in our result. 
Result so far: 5869.24137
Subtract 406 from 460 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 12:
58 goes into 540 9 times with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 5869.241379
The remainder is 18 after subtracting 522 from 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 13:
58 goes into 180 3 times with a remainder of 6.
The next digit of our result is 3. 
Result so far: 5869.2413793
If we take 174 away from 180, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 14:
When dividing 60 by 58, we get 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 5869.24137931
Deduct 58 from 60 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 5869.24137931, with a leftover of 2e-09.