We're dividing 643157 by 47 
The aim is to understand the frequency of 47 in 643157.

Going ahead to step 1:
The number 47 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 47

On to step 2:
If we divide 64 by 47, we get 1 and a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 17 after subtracting 47 from 64.
Take the next digit (3) from the dividend and append it to 17, then repeat: 173 / 47

Going ahead to step 3:
If we divide 173 by 47, we get 3 and a remainder of 32.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we take 141 away from 173, we end up with 32.
Take the next digit (1) from the dividend and append it to 32, then repeat: 321 / 47

Advancing to step 4:
321 divided by 47 is 6 with a remainder of 39.
Write down 6 as next digit of the result. 
Result so far: 136.0
Subtract 282 from 321 to get 39.
Append the next digit (5) from the dividend to 39 and continue with: 395 / 47

Let's proceed to step 5:
If we divide 395 by 47, we get 8 and a remainder of 19.
The next digit of our result is 8. 
Result so far: 1368.0
Subtracting 376 from 395 leaves us with 19.
Fetch the next digit (7) from the dividend, attach it to 19 and continue: 197 / 47

Step 6:
197 divided by 47 is 4 with a remainder of 9.
Put 4 as the next digit of the answer. 
Result so far: 13684.0
If we take 188 away from 197, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
When dividing 90 by 47, we get 1 with a remainder of 43.
Put 1 as the next digit of the answer. 
Result so far: 13684.1
If we take 47 away from 90, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 8:
The number 47 fits into 430 9 times, leaving a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 13684.19
The remainder is 7 after subtracting 423 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 9:
The number 47 fits into 70 1 times, leaving a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 13684.191
The remainder is 23 after subtracting 47 from 70.
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 10:
47 goes into 230 4 times with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 13684.1914
If we take 188 away from 230, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 11:
420 divided by 47 is 8 with a remainder of 44.
The number 8 becomes the next digit in our result. 
Result so far: 13684.19148
Subtract 376 from 420 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 12:
If we divide 440 by 47, we get 9 and a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 13684.191489
Deduct 423 from 440 and we're left 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.

On to step 13:
47 goes into 170 3 times with a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 13684.1914893
Subtracting 141 from 170 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 14:
290 divided by 47 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 13684.19148936
Subtract 282 from 290 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 13684.19148936 and a remainder of 8e-09.