31150805 ÷ 398 
We're looking to find how many times 398 goes into 31150805.

Let's proceed to step 1:
If we divide 3 by 398, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 398

On to step 2:
If we divide 31 by 398, we get 0 and a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 398

Let's proceed to step 3:
398 can be fit into 311 0 times, resulting in a remainder of 311.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 311 and we're left with 311.
Append the next digit (5) from the dividend to 311 and continue with: 3115 / 398

On to step 4:
3115 divided by 398 is 7 with a remainder of 329.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtracting 2786 from 3115 leaves us with 329.
Bring next digit (0) of the dividend behind the 329 and repeat the process: 3290 / 398

Step 5:
398 goes into 3290 8 times with a remainder of 106.
Put 8 as the next digit of the answer. 
Result so far: 78.0
Deduct 3184 from 3290 and we're left with 106.
Grab the next digit (8) from the dividend, add it to 106, then carry on: 1068 / 398

On to step 6:
398 can be fit into 1068 2 times, resulting in a remainder of 272.
Put 2 as the next digit of the answer. 
Result so far: 782.0
The remainder is 272 after subtracting 796 from 1068.
Bring next digit (0) of the dividend behind the 272 and repeat the process: 2720 / 398

Moving on to step 7:
2720 divided by 398 is 6 with a remainder of 332.
Write down 6 as next digit of the result. 
Result so far: 7826.0
If we subtract 2388 from 2720, we get 332.
Bring next digit (5) of the dividend behind the 332 and repeat the process: 3325 / 398

Going ahead to step 8:
3325 divided by 398 is 8 with a remainder of 141.
Write down 8 as next digit of the result. 
Result so far: 78268.0
If we take 3184 away from 3325, we end up with 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Going ahead to step 9:
398 can be fit into 1410 3 times, resulting in a remainder of 216.
Put 3 as the next digit of the answer. 
Result so far: 78268.3
Subtract 1194 from 1410 to get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 10:
2160 divided by 398 is 5 with a remainder of 170.
Put 5 as the next digit of the answer. 
Result so far: 78268.35
If we subtract 1990 from 2160, we get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

On to step 11:
1700 divided by 398 is 4 with a remainder of 108.
Put 4 as the next digit of the answer. 
Result so far: 78268.354
Deduct 1592 from 1700 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 12:
398 goes into 1080 2 times with a remainder of 284.
Use 2 as the next digit of our solution. 
Result so far: 78268.3542
If we subtract 796 from 1080, we get 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Advancing to step 13:
The number 398 fits into 2840 7 times, leaving a remainder of 54.
Record the quotient 7 as the next digit in the result. 
Result so far: 78268.35427
If we take 2786 away from 2840, 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.

On to step 14:
398 can be fit into 540 1 times, resulting in a remainder of 142.
Write down 1 as next digit of the result. 
Result so far: 78268.354271
Subtracting 398 from 540 leaves us with 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Step 15:
If we divide 1420 by 398, we get 3 and a remainder of 226.
The next digit of our result is 3. 
Result so far: 78268.3542713
If we subtract 1194 from 1420, we get 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Step 16:
The number 398 fits into 2260 5 times, leaving a remainder of 270.
Record the quotient 5 as the next digit in the result. 
Result so far: 78268.35427135
Subtracting 1990 from 2260 leaves us with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

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