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

Going ahead to step 1:
1 divided by 47 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 47

On to step 2:
When dividing 15 by 47, we get 0 with a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 47

Advancing to step 3:
158 divided by 47 is 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 141 from 158, we get 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 47

Let's proceed to step 4:
47 goes into 170 3 times with a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
If we take 141 away from 170, we end up with 29.
Fetch the next digit (4) from the dividend, attach it to 29 and continue: 294 / 47

Let's proceed to step 5:
The number 47 fits into 294 6 times, leaving a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 336.0
Subtracting 282 from 294 leaves us with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 47

Step 6:
The number 47 fits into 127 2 times, leaving a remainder of 33.
The number 2 becomes the next digit in our result. 
Result so far: 3362.0
Subtract 94 from 127 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 7:
47 goes into 330 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 3362.7
Subtract 329 from 330 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 8:
10 divided by 47 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 3362.7
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
When dividing 100 by 47, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 3362.702
Subtract 94 from 100 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 10:
47 goes into 60 1 times with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 3362.7021
Subtract 47 from 60 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 11:
When dividing 130 by 47, we get 2 with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 3362.70212
Subtracting 94 from 130 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.

Step 12:
If we divide 360 by 47, we get 7 and a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 3362.702127
Subtracting 329 from 360 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 13:
When dividing 310 by 47, we get 6 with a remainder of 28.
The next digit of our result is 6. 
Result so far: 3362.7021276
Subtracting 282 from 310 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 14:
280 divided by 47 is 5 with a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 3362.70212765
Subtracting 235 from 280 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

In conclusion, the division gives 3362.70212765 with a balance of 4.5e-08.