We look at the division of 94563786 by 540 
The aim is to understand the frequency of 540 in 94563786.

On to step 1:
If we divide 9 by 540, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 540

Advancing to step 2:
When dividing 94 by 540, we get 0 with a remainder of 94.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 94, we get 94.
Take the next digit (5) from the dividend and append it to 94, then repeat: 945 / 540

Going ahead to step 3:
540 can be fit into 945 1 times, resulting in a remainder of 405.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 540 from 945 and we're left with 405.
Include the next digit (6) from the dividend after 405, then repeat: 4056 / 540

Let's proceed to step 4:
If we divide 4056 by 540, we get 7 and a remainder of 276.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
If we take 3780 away from 4056, we end up with 276.
Grab the next digit (3) from the dividend, add it to 276, then carry on: 2763 / 540

Advancing to step 5:
If we divide 2763 by 540, we get 5 and a remainder of 63.
Write down 5 as next digit of the result. 
Result so far: 175.0
Subtracting 2700 from 2763 leaves us with 63.
Grab the next digit (7) from the dividend, add it to 63, then carry on: 637 / 540

Moving on to step 6:
540 goes into 637 1 times with a remainder of 97.
The next digit of our result is 1. 
Result so far: 1751.0
Subtracting 540 from 637 leaves us with 97.
Fetch the next digit (8) from the dividend, attach it to 97 and continue: 978 / 540

On to step 7:
If we divide 978 by 540, we get 1 and a remainder of 438.
Record the quotient 1 as the next digit in the result. 
Result so far: 17511.0
Subtract 540 from 978 to get 438.
Take the next digit (6) from the dividend and append it to 438, then repeat: 4386 / 540

Let's proceed to step 8:
If we divide 4386 by 540, we get 8 and a remainder of 66.
Put 8 as the next digit of the answer. 
Result so far: 175118.0
If we take 4320 away from 4386, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 9:
660 divided by 540 is 1 with a remainder of 120.
Record the quotient 1 as the next digit in the result. 
Result so far: 175118.1
Subtracting 540 from 660 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Going ahead to step 10:
If we divide 1200 by 540, we get 2 and a remainder of 120.
Record the quotient 2 as the next digit in the result. 
Result so far: 175118.12
If we subtract 1080 from 1200, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 11:
When dividing 1200 by 540, we get 2 with a remainder of 120.
Write down 2 as next digit of the result. 
Result so far: 175118.122
If we subtract 1080 from 1200, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Our division results in 175118.122 with a remaining 0.012.