We look at the division of 506004 by 43 
The aim is to understand the frequency of 43 in 506004.

Step 1:
43 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 43

Let's proceed to step 2:
When dividing 50 by 43, we get 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 43 from 50 to get 7.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 43

Moving on to step 3:
When dividing 76 by 43, we get 1 with a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 11.0
The remainder is 33 after subtracting 43 from 76.
Grab the next digit (0) from the dividend, add it to 33, then carry on: 330 / 43

Step 4:
The number 43 fits into 330 7 times, leaving a remainder of 29.
The next digit of our result is 7. 
Result so far: 117.0
The remainder is 29 after subtracting 301 from 330.
Take the next digit (0) from the dividend and append it to 29, then repeat: 290 / 43

Step 5:
When dividing 290 by 43, we get 6 with a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 1176.0
If we take 258 away from 290, we end up with 32.
Take the next digit (4) from the dividend and append it to 32, then repeat: 324 / 43

Moving on to step 6:
When dividing 324 by 43, we get 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 11767.0
Subtracting 301 from 324 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 7:
If we divide 230 by 43, we get 5 and a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 11767.5
Deduct 215 from 230 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
The number 43 fits into 150 3 times, leaving a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 11767.53
Subtract 129 from 150 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.

Let's proceed to step 9:
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: 11767.534
If we take 172 away from 210, we end up 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.

Let's proceed to step 10:
43 can be fit into 380 8 times, resulting in a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 11767.5348
Subtracting 344 from 380 leaves us 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.

Going ahead to step 11:
When dividing 360 by 43, we get 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 11767.53488
Subtract 344 from 360 to get 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 11767.53488 and a remainder of 1.6e-05.