31359197 ÷ 628 
The aim is to understand the frequency of 628 in 31359197.

Advancing to step 1:
When dividing 3 by 628, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 628

On to step 2:
628 goes into 31 0 times with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Take the next digit (3) from the dividend and append it to 31, then repeat: 313 / 628

Going ahead to step 3:
The number 628 fits into 313 0 times, leaving a remainder of 313.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 313 and we're left with 313.
Fetch the next digit (5) from the dividend, attach it to 313 and continue: 3135 / 628

Moving on to step 4:
628 can be fit into 3135 4 times, resulting in a remainder of 623.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 623 after subtracting 2512 from 3135.
Fetch the next digit (9) from the dividend, attach it to 623 and continue: 6239 / 628

Going ahead to step 5:
The number 628 fits into 6239 9 times, leaving a remainder of 587.
Put 9 as the next digit of the answer. 
Result so far: 49.0
If we subtract 5652 from 6239, we get 587.
Include the next digit (1) from the dividend after 587, then repeat: 5871 / 628

Advancing to step 6:
5871 divided by 628 is 9 with a remainder of 219.
Use 9 as the next digit of our solution. 
Result so far: 499.0
If we subtract 5652 from 5871, we get 219.
Take the next digit (9) from the dividend and append it to 219, then repeat: 2199 / 628

Step 7:
628 goes into 2199 3 times with a remainder of 315.
Record the quotient 3 as the next digit in the result. 
Result so far: 4993.0
If we subtract 1884 from 2199, we get 315.
Fetch the next digit (7) from the dividend, attach it to 315 and continue: 3157 / 628

Step 8:
When dividing 3157 by 628, we get 5 with a remainder of 17.
Write down 5 as next digit of the result. 
Result so far: 49935.0
If we take 3140 away from 3157, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 9:
When dividing 170 by 628, we get 0 with a remainder of 170.
Record the quotient 0 as the next digit in the result. 
Result so far: 49935.0
Deduct 0 from 170 and we're left with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Moving on to step 10:
628 goes into 1700 2 times with a remainder of 444.
The next digit of our result is 2. 
Result so far: 49935.02
The remainder is 444 after subtracting 1256 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4440, and continue the process.

Step 11:
628 goes into 4440 7 times with a remainder of 44.
The next digit of our result is 7. 
Result so far: 49935.027
If we subtract 4396 from 4440, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 12:
628 can be fit into 440 0 times, resulting in a remainder of 440.
Write down 0 as next digit of the result. 
Result so far: 49935.027
Subtract 0 from 440 to get 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Going ahead to step 13:
628 can be fit into 4400 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 49935.02707
Subtract 4396 from 4400 to 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.

Moving on to step 14:
When dividing 40 by 628, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 49935.02707
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 15:
400 divided by 628 is 0 with a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 49935.02707
If we take 0 away from 400, we end up with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The final outcome is 49935.02707, with a leftover of 4e-06.