Let's divide 257161 by 43
The aim is to understand the frequency of 43 in 257161.

On to step 1:
43 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 43

Let's proceed to step 2:
The number 43 fits into 25 0 times, leaving a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 25 leaves us with 25.
Grab the next digit (7) from the dividend, add it to 25, then carry on: 257 / 43

Advancing to step 3:
The number 43 fits into 257 5 times, leaving a remainder of 42.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 215 from 257, we get 42.
Include the next digit (1) from the dividend after 42, then repeat: 421 / 43

Going ahead to step 4:
If we divide 421 by 43, we get 9 and a remainder of 34.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
The remainder is 34 after subtracting 387 from 421.
Append the next digit (6) from the dividend to 34 and continue with: 346 / 43

Advancing to step 5:
346 divided by 43 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 598.0
Deduct 344 from 346 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 43

Moving on to step 6:
21 divided by 43 is 0 with a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 5980.0
Subtract 0 from 21 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 7:
43 can be fit into 210 4 times, resulting in a remainder of 38.
Record the quotient 4 as the next digit in the result. 
Result so far: 5980.4
Deduct 172 from 210 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 8:
The number 43 fits into 380 8 times, leaving a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 5980.48
Deduct 344 from 380 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 9:
When dividing 360 by 43, we get 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 5980.488
Subtracting 344 from 360 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

After the division, we end up with 5980.488 and a remainder of 0.0016.