We're dividing 2765814 by 31 
The aim is to understand the frequency of 31 in 2765814.

Going ahead to step 1:
When dividing 2 by 31, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 31

Let's proceed to step 2:
27 divided by 31 is 0 with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 27 and we're left with 27.
Bring next digit (6) of the dividend behind the 27 and repeat the process: 276 / 31

On to step 3:
When dividing 276 by 31, we get 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 248 from 276 to get 28.
Bring next digit (5) of the dividend behind the 28 and repeat the process: 285 / 31

Let's proceed to step 4:
285 divided by 31 is 9 with a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 89.0
Subtract 279 from 285 to get 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 31

Step 5:
When dividing 68 by 31, we get 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 892.0
Subtract 62 from 68 to get 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 31

Let's proceed to step 6:
If we divide 61 by 31, we get 1 and a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 8921.0
The remainder is 30 after subtracting 31 from 61.
Take the next digit (4) from the dividend and append it to 30, then repeat: 304 / 31

Advancing to step 7:
31 goes into 304 9 times with a remainder of 25.
The number 9 becomes the next digit in our result. 
Result so far: 89219.0
Subtract 279 from 304 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 8:
The number 31 fits into 250 8 times, leaving a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 89219.8
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
If we divide 20 by 31, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 89219.8
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
31 goes into 200 6 times with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 89219.806
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
140 divided by 31 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 89219.8064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 89219.80645
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 13:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 89219.806451
Subtracting 31 from 50 leaves us 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.

Going ahead to step 14:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 89219.8064516
If we subtract 186 from 190, we 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 15:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 89219.80645161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The quotient of the division is 89219.80645161, and the remainder is 9e-09.