We're dividing 31400855 by 838 
The aim is to understand the frequency of 838 in 31400855.

Moving on to step 1:
838 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.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 838

Step 2:
838 can be fit into 31 0 times, resulting in a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Grab the next digit (4) from the dividend, add it to 31, then carry on: 314 / 838

Advancing to step 3:
If we divide 314 by 838, we get 0 and a remainder of 314.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 314 after subtracting 0 from 314.
Bring next digit (0) of the dividend behind the 314 and repeat the process: 3140 / 838

Moving on to step 4:
3140 divided by 838 is 3 with a remainder of 626.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 2514 from 3140 to get 626.
Include the next digit (0) from the dividend after 626, then repeat: 6260 / 838

Let's proceed to step 5:
838 goes into 6260 7 times with a remainder of 394.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
If we subtract 5866 from 6260, we get 394.
Fetch the next digit (8) from the dividend, attach it to 394 and continue: 3948 / 838

Going ahead to step 6:
838 can be fit into 3948 4 times, resulting in a remainder of 596.
Put 4 as the next digit of the answer. 
Result so far: 374.0
Deduct 3352 from 3948 and we're left with 596.
Take the next digit (5) from the dividend and append it to 596, then repeat: 5965 / 838

Going ahead to step 7:
If we divide 5965 by 838, we get 7 and a remainder of 99.
The number 7 becomes the next digit in our result. 
Result so far: 3747.0
If we subtract 5866 from 5965, we get 99.
Fetch the next digit (5) from the dividend, attach it to 99 and continue: 995 / 838

Moving on to step 8:
838 can be fit into 995 1 times, resulting in a remainder of 157.
Write down 1 as next digit of the result. 
Result so far: 37471.0
The remainder is 157 after subtracting 838 from 995.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Let's proceed to step 9:
838 can be fit into 1570 1 times, resulting in a remainder of 732.
The number 1 becomes the next digit in our result. 
Result so far: 37471.1
Subtract 838 from 1570 to get 732.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7320, and continue the process.

Moving on to step 10:
838 can be fit into 7320 8 times, resulting in a remainder of 616.
Use 8 as the next digit of our solution. 
Result so far: 37471.18
If we subtract 6704 from 7320, we get 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Moving on to step 11:
When dividing 6160 by 838, we get 7 with a remainder of 294.
The next digit of our result is 7. 
Result so far: 37471.187
If we subtract 5866 from 6160, we get 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Let's proceed to step 12:
If we divide 2940 by 838, we get 3 and a remainder of 426.
The next digit of our result is 3. 
Result so far: 37471.1873
Deduct 2514 from 2940 and we're left with 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

Advancing to step 13:
The number 838 fits into 4260 5 times, leaving a remainder of 70.
Put 5 as the next digit of the answer. 
Result so far: 37471.18735
Subtracting 4190 from 4260 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 14:
838 goes into 700 0 times with a remainder of 700.
Use 0 as the next digit of our solution. 
Result so far: 37471.18735
Deduct 0 from 700 and we're left with 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

On to step 15:
7000 divided by 838 is 8 with a remainder of 296.
The number 8 becomes the next digit in our result. 
Result so far: 37471.1873508
If we take 6704 away from 7000, we end up with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Advancing to step 16:
If we divide 2960 by 838, we get 3 and a remainder of 446.
Write down 3 as next digit of the result. 
Result so far: 37471.18735083
Subtract 2514 from 2960 to get 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

The quotient of the division is 37471.18735083, and the remainder is 4.46e-07.