949140 divided by 31 
The aim is to understand the frequency of 31 in 949140.

Let's proceed to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 31

Going ahead to step 2:
The number 31 fits into 94 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 93 from 94 to get 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 31

Moving on to step 3:
The number 31 fits into 19 0 times, leaving a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 30.0
The remainder is 19 after subtracting 0 from 19.
Grab the next digit (1) from the dividend, add it to 19, then carry on: 191 / 31

Advancing to step 4:
The number 31 fits into 191 6 times, leaving a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 306.0
If we take 186 away from 191, we end up with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 31

Advancing to step 5:
31 goes into 54 1 times with a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 3061.0
The remainder is 23 after subtracting 31 from 54.
Include the next digit (0) from the dividend after 23, then repeat: 230 / 31

On to step 6:
If we divide 230 by 31, we get 7 and a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 30617.0
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 7:
When dividing 130 by 31, we get 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 30617.4
The remainder is 6 after subtracting 124 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
31 goes into 60 1 times with a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 30617.41
Deduct 31 from 60 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 9:
When dividing 290 by 31, we get 9 with a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 30617.419
Subtracting 279 from 290 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 10:
When dividing 110 by 31, we get 3 with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 30617.4193
If we subtract 93 from 110, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 11:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 30617.41935
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 12:
When dividing 150 by 31, we get 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 30617.419354
The remainder is 26 after subtracting 124 from 150.
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 13:
If we divide 260 by 31, we get 8 and a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 30617.4193548
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 14:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 30617.41935483
Deduct 93 from 120 and we're left 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.

The final result is 30617.41935483 with a remainder of 2.7e-08.