Let's divide 31246047 by 738
We want to divide 31246047 by 738.

Advancing to step 1:
738 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 738

Going ahead to step 2:
The number 738 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 738

Moving on to step 3:
The number 738 fits into 312 0 times, leaving a remainder of 312.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 312 after subtracting 0 from 312.
Take the next digit (4) from the dividend and append it to 312, then repeat: 3124 / 738

Let's proceed to step 4:
3124 divided by 738 is 4 with a remainder of 172.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 2952 from 3124 to get 172.
Take the next digit (6) from the dividend and append it to 172, then repeat: 1726 / 738

Advancing to step 5:
738 can be fit into 1726 2 times, resulting in a remainder of 250.
Use 2 as the next digit of our solution. 
Result so far: 42.0
If we take 1476 away from 1726, we end up with 250.
Grab the next digit (0) from the dividend, add it to 250, then carry on: 2500 / 738

On to step 6:
738 can be fit into 2500 3 times, resulting in a remainder of 286.
The number 3 becomes the next digit in our result. 
Result so far: 423.0
If we take 2214 away from 2500, we end up with 286.
Include the next digit (4) from the dividend after 286, then repeat: 2864 / 738

On to step 7:
738 goes into 2864 3 times with a remainder of 650.
Put 3 as the next digit of the answer. 
Result so far: 4233.0
If we take 2214 away from 2864, we end up with 650.
Grab the next digit (7) from the dividend, add it to 650, then carry on: 6507 / 738

Moving on to step 8:
738 can be fit into 6507 8 times, resulting in a remainder of 603.
The next digit of our result is 8. 
Result so far: 42338.0
If we take 5904 away from 6507, we end up with 603.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6030, and continue the process.

Let's proceed to step 9:
738 goes into 6030 8 times with a remainder of 126.
Put 8 as the next digit of the answer. 
Result so far: 42338.8
Subtracting 5904 from 6030 leaves us with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Step 10:
When dividing 1260 by 738, we get 1 with a remainder of 522.
The next digit of our result is 1. 
Result so far: 42338.81
Deduct 738 from 1260 and we're left with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Advancing to step 11:
5220 divided by 738 is 7 with a remainder of 54.
Put 7 as the next digit of the answer. 
Result so far: 42338.817
If we take 5166 away from 5220, 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.

Advancing to step 12:
738 goes into 540 0 times with a remainder of 540.
The next digit of our result is 0. 
Result so far: 42338.817
Subtract 0 from 540 to get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Going ahead to step 13:
The number 738 fits into 5400 7 times, leaving a remainder of 234.
Use 7 as the next digit of our solution. 
Result so far: 42338.81707
Subtracting 5166 from 5400 leaves us with 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

On to step 14:
738 goes into 2340 3 times with a remainder of 126.
Use 3 as the next digit of our solution. 
Result so far: 42338.817073
Deduct 2214 from 2340 and we're left with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Moving on to step 15:
When dividing 1260 by 738, we get 1 with a remainder of 522.
Write down 1 as next digit of the result. 
Result so far: 42338.8170731
The remainder is 522 after subtracting 738 from 1260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Going ahead to step 16:
5220 divided by 738 is 7 with a remainder of 54.
The number 7 becomes the next digit in our result. 
Result so far: 42338.81707317
If we subtract 5166 from 5220, we 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.

The final result is 42338.81707317 with a remainder of 5.4e-08.