We divide 378019 by 31
The aim is to understand the frequency of 31 in 378019.

Going ahead to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Let's proceed to step 2:
37 divided by 31 is 1 with a remainder of 6.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 37, we get 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 31

Step 3:
The number 31 fits into 68 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 62 from 68 to get 6.
Fetch the next digit (0) from the dividend, attach it to 6 and continue: 60 / 31

Going ahead to step 4:
When dividing 60 by 31, we get 1 with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 121.0
Deduct 31 from 60 and we're left with 29.
Grab the next digit (1) from the dividend, add it to 29, then carry on: 291 / 31

Step 5:
31 goes into 291 9 times with a remainder of 12.
Record the quotient 9 as the next digit in the result. 
Result so far: 1219.0
If we subtract 279 from 291, we get 12.
Include the next digit (9) from the dividend after 12, then repeat: 129 / 31

Moving on to step 6:
31 goes into 129 4 times with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 12194.0
The remainder is 5 after subtracting 124 from 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
50 divided by 31 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 12194.1
If we take 31 away from 50, we end up with 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 8:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 12194.16
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
If we divide 40 by 31, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 12194.161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 10:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The next digit of our result is 2. 
Result so far: 12194.1612
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
If we divide 280 by 31, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 12194.16129
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 12:
31 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 12194.16129
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 13:
The number 31 fits into 100 3 times, leaving a remainder of 7.
The next digit of our result is 3. 
Result so far: 12194.1612903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 14:
When dividing 70 by 31, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 12194.16129032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 12194.16129032, and the remainder is 8e-09.