Let's divide 23161722 by 254
The aim is to understand the frequency of 254 in 23161722.

On to step 1:
2 divided by 254 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 254

Going ahead to step 2:
254 can be fit into 23 0 times, resulting in a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 23, we get 23.
Include the next digit (1) from the dividend after 23, then repeat: 231 / 254

Let's proceed to step 3:
254 can be fit into 231 0 times, resulting in a remainder of 231.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 231 after subtracting 0 from 231.
Append the next digit (6) from the dividend to 231 and continue with: 2316 / 254

Advancing to step 4:
If we divide 2316 by 254, we get 9 and a remainder of 30.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we take 2286 away from 2316, we end up with 30.
Include the next digit (1) from the dividend after 30, then repeat: 301 / 254

Step 5:
When dividing 301 by 254, we get 1 with a remainder of 47.
The number 1 becomes the next digit in our result. 
Result so far: 91.0
The remainder is 47 after subtracting 254 from 301.
Bring next digit (7) of the dividend behind the 47 and repeat the process: 477 / 254

Let's proceed to step 6:
When dividing 477 by 254, we get 1 with a remainder of 223.
Use 1 as the next digit of our solution. 
Result so far: 911.0
If we subtract 254 from 477, we get 223.
Append the next digit (2) from the dividend to 223 and continue with: 2232 / 254

On to step 7:
254 can be fit into 2232 8 times, resulting in a remainder of 200.
Record the quotient 8 as the next digit in the result. 
Result so far: 9118.0
Subtract 2032 from 2232 to get 200.
Grab the next digit (2) from the dividend, add it to 200, then carry on: 2002 / 254

On to step 8:
When dividing 2002 by 254, we get 7 with a remainder of 224.
Put 7 as the next digit of the answer. 
Result so far: 91187.0
Subtract 1778 from 2002 to get 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Step 9:
The number 254 fits into 2240 8 times, leaving a remainder of 208.
Use 8 as the next digit of our solution. 
Result so far: 91187.8
Subtract 2032 from 2240 to get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Advancing to step 10:
When dividing 2080 by 254, we get 8 with a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 91187.88
If we take 2032 away from 2080, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

After the division, we end up with 91187.88 and a remainder of 0.048.