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

Moving on to step 1:
7 divided by 47 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 47

On to step 2:
47 goes into 78 1 times with a remainder of 31.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 47 from 78 leaves us with 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 47

Advancing to step 3:
47 can be fit into 313 6 times, resulting in a remainder of 31.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we subtract 282 from 313, we get 31.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 47

Advancing to step 4:
If we divide 319 by 47, we get 6 and a remainder of 37.
The number 6 becomes the next digit in our result. 
Result so far: 166.0
The remainder is 37 after subtracting 282 from 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 5:
When dividing 370 by 47, we get 7 with a remainder of 41.
The number 7 becomes the next digit in our result. 
Result so far: 166.7
Subtract 329 from 370 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 6:
The number 47 fits into 410 8 times, leaving a remainder of 34.
The next digit of our result is 8. 
Result so far: 166.78
Deduct 376 from 410 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 7:
When dividing 340 by 47, we get 7 with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 166.787
If we take 329 away from 340, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 8:
If we divide 110 by 47, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 166.7872
If we take 94 away from 110, we end up 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.

Going ahead to step 9:
160 divided by 47 is 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 166.78723
If we take 141 away from 160, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 10:
190 divided by 47 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 166.787234
The remainder is 2 after subtracting 188 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 11:
If we divide 20 by 47, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 166.787234
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
47 can be fit into 200 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 166.78723404
The remainder is 12 after subtracting 188 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 166.78723404 and a remainder of 1.2e-08.