Let's divide 12697717 by 628
The aim is to understand the frequency of 628 in 12697717.

On to step 1:
If we divide 1 by 628, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 628

Going ahead to step 2:
628 goes into 12 0 times with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 628

Moving on to step 3:
The number 628 fits into 126 0 times, leaving a remainder of 126.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 126 after subtracting 0 from 126.
Take the next digit (9) from the dividend and append it to 126, then repeat: 1269 / 628

Let's proceed to step 4:
The number 628 fits into 1269 2 times, leaving a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 1256 from 1269 leaves us with 13.
Fetch the next digit (7) from the dividend, attach it to 13 and continue: 137 / 628

Let's proceed to step 5:
If we divide 137 by 628, we get 0 and a remainder of 137.
Use 0 as the next digit of our solution. 
Result so far: 20.0
The remainder is 137 after subtracting 0 from 137.
Include the next digit (7) from the dividend after 137, then repeat: 1377 / 628

Moving on to step 6:
628 can be fit into 1377 2 times, resulting in a remainder of 121.
Record the quotient 2 as the next digit in the result. 
Result so far: 202.0
Subtract 1256 from 1377 to get 121.
Include the next digit (1) from the dividend after 121, then repeat: 1211 / 628

Moving on to step 7:
The number 628 fits into 1211 1 times, leaving a remainder of 583.
The number 1 becomes the next digit in our result. 
Result so far: 2021.0
The remainder is 583 after subtracting 628 from 1211.
Fetch the next digit (7) from the dividend, attach it to 583 and continue: 5837 / 628

Step 8:
628 goes into 5837 9 times with a remainder of 185.
Use 9 as the next digit of our solution. 
Result so far: 20219.0
Deduct 5652 from 5837 and we're left with 185.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1850, and continue the process.

Advancing to step 9:
When dividing 1850 by 628, we get 2 with a remainder of 594.
Use 2 as the next digit of our solution. 
Result so far: 20219.2
Subtract 1256 from 1850 to get 594.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5940, and continue the process.

Let's proceed to step 10:
628 can be fit into 5940 9 times, resulting in a remainder of 288.
Write down 9 as next digit of the result. 
Result so far: 20219.29
Subtract 5652 from 5940 to get 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Let's proceed to step 11:
When dividing 2880 by 628, we get 4 with a remainder of 368.
The number 4 becomes the next digit in our result. 
Result so far: 20219.294
Deduct 2512 from 2880 and we're left with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Advancing to step 12:
If we divide 3680 by 628, we get 5 and a remainder of 540.
Put 5 as the next digit of the answer. 
Result so far: 20219.2945
The remainder is 540 after subtracting 3140 from 3680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Going ahead to step 13:
The number 628 fits into 5400 8 times, leaving a remainder of 376.
The number 8 becomes the next digit in our result. 
Result so far: 20219.29458
Deduct 5024 from 5400 and we're left with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Advancing to step 14:
628 goes into 3760 5 times with a remainder of 620.
Write down 5 as next digit of the result. 
Result so far: 20219.294585
If we take 3140 away from 3760, we end up with 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

Moving on to step 15:
6200 divided by 628 is 9 with a remainder of 548.
Record the quotient 9 as the next digit in the result. 
Result so far: 20219.2945859
Deduct 5652 from 6200 and we're left with 548.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Let's proceed to step 16:
628 can be fit into 5480 8 times, resulting in a remainder of 456.
The next digit of our result is 8. 
Result so far: 20219.29458598
If we take 5024 away from 5480, we end up with 456.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4560, and continue the process.

The final outcome is 20219.29458598, with a leftover of 4.56e-07.