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

On to step 1:
The number 47 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 47

Let's proceed to step 2:
47 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (2) from the dividend, attach it to 40 and continue: 402 / 47

Moving on to step 3:
47 can be fit into 402 8 times, resulting in a remainder of 26.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we take 376 away from 402, we end up with 26.
Fetch the next digit (9) from the dividend, attach it to 26 and continue: 269 / 47

Let's proceed to step 4:
47 can be fit into 269 5 times, resulting in a remainder of 34.
Record the quotient 5 as the next digit in the result. 
Result so far: 85.0
Deduct 235 from 269 and we're left with 34.
Include the next digit (8) from the dividend after 34, then repeat: 348 / 47

Advancing to step 5:
The number 47 fits into 348 7 times, leaving a remainder of 19.
The number 7 becomes the next digit in our result. 
Result so far: 857.0
The remainder is 19 after subtracting 329 from 348.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 47

Moving on to step 6:
47 can be fit into 190 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 8574.0
Subtract 188 from 190 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
47 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 8574.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
If we divide 200 by 47, we get 4 and a remainder of 12.
The next digit of our result is 4. 
Result so far: 8574.04
Subtract 188 from 200 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
47 can be fit into 120 2 times, resulting in a remainder of 26.
Write down 2 as next digit of the result. 
Result so far: 8574.042
If we take 94 away from 120, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 10:
When dividing 260 by 47, we get 5 with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 8574.0425
Deduct 235 from 260 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 11:
47 can be fit into 250 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 8574.04255
Subtract 235 from 250 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

After the division, we end up with 8574.04255 and a remainder of 1.5e-05.