We're dividing 39546947 by 666 
The aim is to understand the frequency of 666 in 39546947.

Advancing to step 1:
3 divided by 666 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 666

Advancing to step 2:
The number 666 fits into 39 0 times, leaving a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Grab the next digit (5) from the dividend, add it to 39, then carry on: 395 / 666

Going ahead to step 3:
395 divided by 666 is 0 with a remainder of 395.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 395 to get 395.
Take the next digit (4) from the dividend and append it to 395, then repeat: 3954 / 666

Step 4:
If we divide 3954 by 666, we get 5 and a remainder of 624.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 3330 from 3954, we get 624.
Take the next digit (6) from the dividend and append it to 624, then repeat: 6246 / 666

Advancing to step 5:
When dividing 6246 by 666, we get 9 with a remainder of 252.
Record the quotient 9 as the next digit in the result. 
Result so far: 59.0
The remainder is 252 after subtracting 5994 from 6246.
Grab the next digit (9) from the dividend, add it to 252, then carry on: 2529 / 666

On to step 6:
666 goes into 2529 3 times with a remainder of 531.
Use 3 as the next digit of our solution. 
Result so far: 593.0
If we take 1998 away from 2529, we end up with 531.
Grab the next digit (4) from the dividend, add it to 531, then carry on: 5314 / 666

On to step 7:
When dividing 5314 by 666, we get 7 with a remainder of 652.
The next digit of our result is 7. 
Result so far: 5937.0
Subtract 4662 from 5314 to get 652.
Append the next digit (7) from the dividend to 652 and continue with: 6527 / 666

On to step 8:
6527 divided by 666 is 9 with a remainder of 533.
Record the quotient 9 as the next digit in the result. 
Result so far: 59379.0
If we subtract 5994 from 6527, we get 533.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5330, and continue the process.

Let's proceed to step 9:
666 can be fit into 5330 8 times, resulting in a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 59379.8
The remainder is 2 after subtracting 5328 from 5330.
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 10:
If we divide 20 by 666, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 59379.8
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 11:
The number 666 fits into 200 0 times, leaving a remainder of 200.
Put 0 as the next digit of the answer. 
Result so far: 59379.8
Subtracting 0 from 200 leaves us with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The quotient of the division is 59379.8, and the remainder is 0.02.