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

Advancing to step 1:
779 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 779

Moving on to step 2:
If we divide 31 by 779, we get 0 and a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 779

Let's proceed to step 3:
317 divided by 779 is 0 with a remainder of 317.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 317 leaves us with 317.
Fetch the next digit (4) from the dividend, attach it to 317 and continue: 3174 / 779

Let's proceed to step 4:
The number 779 fits into 3174 4 times, leaving a remainder of 58.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 3116 from 3174 to get 58.
Take the next digit (2) from the dividend and append it to 58, then repeat: 582 / 779

Advancing to step 5:
If we divide 582 by 779, we get 0 and a remainder of 582.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
If we take 0 away from 582, we end up with 582.
Bring next digit (2) of the dividend behind the 582 and repeat the process: 5822 / 779

On to step 6:
If we divide 5822 by 779, we get 7 and a remainder of 369.
Record the quotient 7 as the next digit in the result. 
Result so far: 407.0
The remainder is 369 after subtracting 5453 from 5822.
Bring next digit (2) of the dividend behind the 369 and repeat the process: 3692 / 779

On to step 7:
3692 divided by 779 is 4 with a remainder of 576.
Write down 4 as next digit of the result. 
Result so far: 4074.0
If we take 3116 away from 3692, we end up with 576.
Take the next digit (7) from the dividend and append it to 576, then repeat: 5767 / 779

Step 8:
779 can be fit into 5767 7 times, resulting in a remainder of 314.
Use 7 as the next digit of our solution. 
Result so far: 40747.0
Subtracting 5453 from 5767 leaves us with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

On to step 9:
779 goes into 3140 4 times with a remainder of 24.
The next digit of our result is 4. 
Result so far: 40747.4
Subtract 3116 from 3140 to get 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 10:
240 divided by 779 is 0 with a remainder of 240.
Write down 0 as next digit of the result. 
Result so far: 40747.4
The remainder is 240 after subtracting 0 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Step 11:
2400 divided by 779 is 3 with a remainder of 63.
Use 3 as the next digit of our solution. 
Result so far: 40747.403
If we take 2337 away from 2400, we end up with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Going ahead to step 12:
779 goes into 630 0 times with a remainder of 630.
The next digit of our result is 0. 
Result so far: 40747.403
Subtracting 0 from 630 leaves us with 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Going ahead to step 13:
779 goes into 6300 8 times with a remainder of 68.
Put 8 as the next digit of the answer. 
Result so far: 40747.40308
The remainder is 68 after subtracting 6232 from 6300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 14:
779 can be fit into 680 0 times, resulting in a remainder of 680.
The number 0 becomes the next digit in our result. 
Result so far: 40747.40308
The remainder is 680 after subtracting 0 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Going ahead to step 15:
779 goes into 6800 8 times with a remainder of 568.
Put 8 as the next digit of the answer. 
Result so far: 40747.4030808
Deduct 6232 from 6800 and we're left with 568.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5680, and continue the process.

On to step 16:
When dividing 5680 by 779, we get 7 with a remainder of 227.
Record the quotient 7 as the next digit in the result. 
Result so far: 40747.40308087
If we subtract 5453 from 5680, we get 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

After the division, we end up with 40747.40308087 and a remainder of 2.27e-07.