542858 divided by 47 
The aim is to understand the frequency of 47 in 542858.

On to step 1:
If we divide 5 by 47, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 47

Moving on to step 2:
The number 47 fits into 54 1 times, leaving a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 47 from 54 to get 7.
Grab the next digit (2) from the dividend, add it to 7, then carry on: 72 / 47

Step 3:
When dividing 72 by 47, we get 1 with a remainder of 25.
The next digit of our result is 1. 
Result so far: 11.0
If we take 47 away from 72, we end up with 25.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 47

Step 4:
The number 47 fits into 258 5 times, leaving a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 115.0
Subtract 235 from 258 to get 23.
Bring next digit (5) of the dividend behind the 23 and repeat the process: 235 / 47

Moving on to step 5:
47 goes into 235 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 1155.0
Subtract 235 from 235 to get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 47

On to step 6:
The number 47 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 11550.0
If we take 0 away from 8, we end up with 8.
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 7:
80 divided by 47 is 1 with a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 11550.1
If we subtract 47 from 80, we 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.

Let's proceed to step 8:
47 can be fit into 330 7 times, resulting in a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 11550.17
Deduct 329 from 330 and we're left 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.

Moving on to step 9:
If we divide 10 by 47, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 11550.17
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
47 can be fit into 100 2 times, resulting in a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 11550.1702
If we take 94 away from 100, we end up 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.

Step 11:
60 divided by 47 is 1 with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 11550.17021
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.

Going ahead to step 12:
47 goes into 130 2 times with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 11550.170212
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.

Advancing to step 13:
47 goes into 360 7 times with a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 11550.1702127
Deduct 329 from 360 and we're left 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.

Step 14:
47 can be fit into 310 6 times, resulting in a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 11550.17021276
Deduct 282 from 310 and we're left 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.

Our division results in 11550.17021276 with a remaining 2.8e-08.