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

Advancing to step 1:
31 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 31

On to step 2:
35 divided by 31 is 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 31 from 35 to get 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 31

Step 3:
31 goes into 49 1 times with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we subtract 31 from 49, we get 18.
Include the next digit (4) from the dividend after 18, then repeat: 184 / 31

On to step 4:
31 can be fit into 184 5 times, resulting in a remainder of 29.
Use 5 as the next digit of our solution. 
Result so far: 115.0
If we take 155 away from 184, we end up with 29.
Bring next digit (7) of the dividend behind the 29 and repeat the process: 297 / 31

Advancing to step 5:
When dividing 297 by 31, we get 9 with a remainder of 18.
The next digit of our result is 9. 
Result so far: 1159.0
Deduct 279 from 297 and we're left with 18.
Append the next digit (8) from the dividend to 18 and continue with: 188 / 31

Going ahead to step 6:
The number 31 fits into 188 6 times, leaving a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 11596.0
Subtract 186 from 188 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
20 divided by 31 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 11596.0
Deduct 0 from 20 and we're left 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.

Going ahead to step 8:
When dividing 200 by 31, we get 6 with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 11596.06
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 9:
140 divided by 31 is 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 11596.064
The remainder is 16 after subtracting 124 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 11596.0645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 11596.06451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 12:
When dividing 190 by 31, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 11596.064516
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.

On to step 13:
When dividing 40 by 31, we get 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 11596.0645161
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.

Let's proceed to step 14:
When dividing 90 by 31, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 11596.06451612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 11596.06451612 with a remaining 2.8e-08.