478960 ÷ 31 
The aim is to understand the frequency of 31 in 478960.

Going ahead to step 1:
When dividing 4 by 31, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 31

Let's proceed to step 2:
When dividing 47 by 31, we get 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 31 from 47 to get 16.
Grab the next digit (8) from the dividend, add it to 16, then carry on: 168 / 31

Step 3:
31 goes into 168 5 times with a remainder of 13.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
If we subtract 155 from 168, we get 13.
Fetch the next digit (9) from the dividend, attach it to 13 and continue: 139 / 31

Let's proceed to step 4:
The number 31 fits into 139 4 times, leaving a remainder of 15.
Use 4 as the next digit of our solution. 
Result so far: 154.0
Subtract 124 from 139 to get 15.
Take the next digit (6) from the dividend and append it to 15, then repeat: 156 / 31

Advancing to step 5:
If we divide 156 by 31, we get 5 and a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 1545.0
Deduct 155 from 156 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 31

On to step 6:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 15450.0
The remainder is 10 after subtracting 0 from 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 7:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 15450.3
Subtracting 93 from 100 leaves us with 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 8:
If we divide 70 by 31, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 15450.32
Subtracting 62 from 70 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 15450.322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 15450.322 with a remaining 0.0018.