Let's divide 11240657 by 31
The aim is to understand the frequency of 31 in 11240657.

Going ahead to step 1:
1 divided by 31 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 31

Moving on to step 2:
When dividing 11 by 31, we get 0 with a remainder of 11.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 11 to get 11.
Append the next digit (2) from the dividend to 11 and continue with: 112 / 31

Let's proceed to step 3:
112 divided by 31 is 3 with a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 93 from 112, we get 19.
Include the next digit (4) from the dividend after 19, then repeat: 194 / 31

On to step 4:
The number 31 fits into 194 6 times, leaving a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Subtract 186 from 194 to get 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 31

Let's proceed to step 5:
80 divided by 31 is 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 362.0
Subtract 62 from 80 to get 18.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 31

On to step 6:
186 divided by 31 is 6 with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 3626.0
If we subtract 186 from 186, we get 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 31

Going ahead to step 7:
When dividing 5 by 31, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 36260.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 31

Moving on to step 8:
When dividing 57 by 31, we get 1 with a remainder of 26.
Use 1 as the next digit of our solution. 
Result so far: 362601.0
If we take 31 away from 57, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 9:
The number 31 fits into 260 8 times, leaving a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 362601.8
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
31 goes into 120 3 times with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 362601.83
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 11:
The number 31 fits into 270 8 times, leaving a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 362601.838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 362601.8387
If we take 217 away from 220, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 13:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 362601.8387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
31 goes into 300 9 times with a remainder of 21.
The next digit of our result is 9. 
Result so far: 362601.838709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 15:
If we divide 210 by 31, we get 6 and a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 362601.8387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 16:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 362601.83870967
Deduct 217 from 240 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final result is 362601.83870967 with a remainder of 2.3e-08.