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

Step 1:
3 divided by 77 is 0 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.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 77

On to step 2:
77 can be fit into 34 0 times, resulting in a remainder of 34.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Append the next digit (0) from the dividend to 34 and continue with: 340 / 77

Going ahead to step 3:
When dividing 340 by 77, we get 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 32 after subtracting 308 from 340.
Fetch the next digit (4) from the dividend, attach it to 32 and continue: 324 / 77

Moving on to step 4:
When dividing 324 by 77, we get 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 44.0
Subtracting 308 from 324 leaves us with 16.
Take the next digit (7) from the dividend and append it to 16, then repeat: 167 / 77

On to step 5:
77 can be fit into 167 2 times, resulting in a remainder of 13.
Record the quotient 2 as the next digit in the result. 
Result so far: 442.0
The remainder is 13 after subtracting 154 from 167.
Bring next digit (5) of the dividend behind the 13 and repeat the process: 135 / 77

Moving on to step 6:
77 goes into 135 1 times with a remainder of 58.
Write down 1 as next digit of the result. 
Result so far: 4421.0
If we subtract 77 from 135, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Moving on to step 7:
580 divided by 77 is 7 with a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 4421.7
Subtracting 539 from 580 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 8:
410 divided by 77 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 4421.75
Subtracting 385 from 410 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 9:
77 goes into 250 3 times with a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 4421.753
If we subtract 231 from 250, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 10:
The number 77 fits into 190 2 times, leaving a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 4421.7532
The remainder is 36 after subtracting 154 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 11:
360 divided by 77 is 4 with a remainder of 52.
Put 4 as the next digit of the answer. 
Result so far: 4421.75324
Deduct 308 from 360 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 12:
77 goes into 520 6 times with a remainder of 58.
The next digit of our result is 6. 
Result so far: 4421.753246
Subtracting 462 from 520 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 13:
If we divide 580 by 77, we get 7 and a remainder of 41.
The number 7 becomes the next digit in our result. 
Result so far: 4421.7532467
Deduct 539 from 580 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 14:
77 can be fit into 410 5 times, resulting in a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 4421.75324675
Subtract 385 from 410 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The final outcome is 4421.75324675, with a leftover of 2.5e-08.