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

Step 1:
4 divided by 31 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 31

Moving on to step 2:
If we divide 41 by 31, we get 1 and a remainder of 10.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 31 from 41 to get 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 31

Advancing to step 3:
When dividing 106 by 31, we get 3 with a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 13.0
Deduct 93 from 106 and we're left with 13.
Fetch the next digit (1) from the dividend, attach it to 13 and continue: 131 / 31

On to step 4:
31 can be fit into 131 4 times, resulting in a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 134.0
Deduct 124 from 131 and we're left with 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

Let's proceed to step 5:
If we divide 77 by 31, we get 2 and a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 1342.0
Deduct 62 from 77 and we're left with 15.
Take the next digit (4) from the dividend and append it to 15, then repeat: 154 / 31

Moving on to step 6:
When dividing 154 by 31, we get 4 with a remainder of 30.
The next digit of our result is 4. 
Result so far: 13424.0
Subtract 124 from 154 to get 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 7:
31 goes into 300 9 times with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 13424.9
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 8:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The next digit of our result is 6. 
Result so far: 13424.96
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.

Step 9:
31 goes into 240 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 13424.967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 10:
31 goes into 230 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 13424.9677
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.

The quotient of the division is 13424.9677, and the remainder is 0.00013.