We look at the division of 509685 by 47 
The aim is to understand the frequency of 47 in 509685.

Let's proceed to step 1:
The number 47 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 47

Advancing to step 2:
The number 47 fits into 50 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 47 from 50 and we're left with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 47

Advancing to step 3:
39 divided by 47 is 0 with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 10.0
The remainder is 39 after subtracting 0 from 39.
Append the next digit (6) from the dividend to 39 and continue with: 396 / 47

On to step 4:
If we divide 396 by 47, we get 8 and a remainder of 20.
Record the quotient 8 as the next digit in the result. 
Result so far: 108.0
The remainder is 20 after subtracting 376 from 396.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 47

Let's proceed to step 5:
47 goes into 208 4 times with a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 1084.0
The remainder is 20 after subtracting 188 from 208.
Append the next digit (5) from the dividend to 20 and continue with: 205 / 47

Going ahead to step 6:
When dividing 205 by 47, we get 4 with a remainder of 17.
Use 4 as the next digit of our solution. 
Result so far: 10844.0
If we take 188 away from 205, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
If we divide 170 by 47, we get 3 and a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 10844.3
The remainder is 29 after subtracting 141 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 8:
47 goes into 290 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 10844.36
The remainder is 8 after subtracting 282 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 9:
If we divide 80 by 47, we get 1 and a remainder of 33.
Use 1 as the next digit of our solution. 
Result so far: 10844.361
The remainder is 33 after subtracting 47 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 10:
When dividing 330 by 47, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 10844.3617
If we take 329 away from 330, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 11:
10 divided by 47 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 10844.3617
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 12:
The number 47 fits into 100 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 10844.361702
Subtracting 94 from 100 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
The number 47 fits into 60 1 times, leaving a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 10844.3617021
If we take 47 away from 60, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 14:
If we divide 130 by 47, we get 2 and a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 10844.36170212
If we subtract 94 from 130, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Our division results in 10844.36170212 with a remaining 3.6e-08.