We look at the division of 10232187 by 654 
The aim is to understand the frequency of 654 in 10232187.

On to step 1:
1 divided by 654 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 654

Step 2:
10 divided by 654 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 10, we end up with 10.
Take the next digit (2) from the dividend and append it to 10, then repeat: 102 / 654

Advancing to step 3:
When dividing 102 by 654, we get 0 with a remainder of 102.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 102 leaves us with 102.
Append the next digit (3) from the dividend to 102 and continue with: 1023 / 654

Going ahead to step 4:
1023 divided by 654 is 1 with a remainder of 369.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 654 from 1023, we get 369.
Include the next digit (2) from the dividend after 369, then repeat: 3692 / 654

Moving on to step 5:
When dividing 3692 by 654, we get 5 with a remainder of 422.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 3270 away from 3692, we end up with 422.
Grab the next digit (1) from the dividend, add it to 422, then carry on: 4221 / 654

Step 6:
654 can be fit into 4221 6 times, resulting in a remainder of 297.
The next digit of our result is 6. 
Result so far: 156.0
Deduct 3924 from 4221 and we're left with 297.
Grab the next digit (8) from the dividend, add it to 297, then carry on: 2978 / 654

On to step 7:
When dividing 2978 by 654, we get 4 with a remainder of 362.
The number 4 becomes the next digit in our result. 
Result so far: 1564.0
Deduct 2616 from 2978 and we're left with 362.
Grab the next digit (7) from the dividend, add it to 362, then carry on: 3627 / 654

Going ahead to step 8:
654 can be fit into 3627 5 times, resulting in a remainder of 357.
Use 5 as the next digit of our solution. 
Result so far: 15645.0
The remainder is 357 after subtracting 3270 from 3627.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3570, and continue the process.

Step 9:
If we divide 3570 by 654, we get 5 and a remainder of 300.
The next digit of our result is 5. 
Result so far: 15645.5
Subtract 3270 from 3570 to get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Advancing to step 10:
The number 654 fits into 3000 4 times, leaving a remainder of 384.
The next digit of our result is 4. 
Result so far: 15645.54
Subtract 2616 from 3000 to get 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Moving on to step 11:
If we divide 3840 by 654, we get 5 and a remainder of 570.
Write down 5 as next digit of the result. 
Result so far: 15645.545
Deduct 3270 from 3840 and we're left with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Step 12:
The number 654 fits into 5700 8 times, leaving a remainder of 468.
The number 8 becomes the next digit in our result. 
Result so far: 15645.5458
Deduct 5232 from 5700 and we're left with 468.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4680, and continue the process.

Step 13:
654 goes into 4680 7 times with a remainder of 102.
The next digit of our result is 7. 
Result so far: 15645.54587
If we subtract 4578 from 4680, we get 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Advancing to step 14:
654 can be fit into 1020 1 times, resulting in a remainder of 366.
Put 1 as the next digit of the answer. 
Result so far: 15645.545871
Subtracting 654 from 1020 leaves us with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Step 15:
When dividing 3660 by 654, we get 5 with a remainder of 390.
Put 5 as the next digit of the answer. 
Result so far: 15645.5458715
If we subtract 3270 from 3660, we get 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Going ahead to step 16:
3900 divided by 654 is 5 with a remainder of 630.
The next digit of our result is 5. 
Result so far: 15645.54587155
If we take 3270 away from 3900, we end up with 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Our division results in 15645.54587155 with a remaining 6.3e-07.