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

On to step 1:
If we divide 5 by 666, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 666

Advancing to step 2:
666 goes into 58 0 times with a remainder of 58.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Take the next digit (2) from the dividend and append it to 58, then repeat: 582 / 666

Going ahead to step 3:
666 goes into 582 0 times with a remainder of 582.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 582 leaves us with 582.
Append the next digit (0) from the dividend to 582 and continue with: 5820 / 666

Going ahead to step 4:
The number 666 fits into 5820 8 times, leaving a remainder of 492.
The next digit of our result is 8. 
Result so far: 8.0
If we subtract 5328 from 5820, we get 492.
Grab the next digit (7) from the dividend, add it to 492, then carry on: 4927 / 666

Let's proceed to step 5:
666 goes into 4927 7 times with a remainder of 265.
Put 7 as the next digit of the answer. 
Result so far: 87.0
Subtract 4662 from 4927 to get 265.
Fetch the next digit (9) from the dividend, attach it to 265 and continue: 2659 / 666

Moving on to step 6:
2659 divided by 666 is 3 with a remainder of 661.
The number 3 becomes the next digit in our result. 
Result so far: 873.0
Deduct 1998 from 2659 and we're left with 661.
Include the next digit (9) from the dividend after 661, then repeat: 6619 / 666

Let's proceed to step 7:
The number 666 fits into 6619 9 times, leaving a remainder of 625.
The number 9 becomes the next digit in our result. 
Result so far: 8739.0
Subtract 5994 from 6619 to get 625.
Fetch the next digit (8) from the dividend, attach it to 625 and continue: 6258 / 666

Advancing to step 8:
666 can be fit into 6258 9 times, resulting in a remainder of 264.
Put 9 as the next digit of the answer. 
Result so far: 87399.0
If we take 5994 away from 6258, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 9:
The number 666 fits into 2640 3 times, leaving a remainder of 642.
Record the quotient 3 as the next digit in the result. 
Result so far: 87399.3
If we take 1998 away from 2640, we end up with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Let's proceed to step 10:
The number 666 fits into 6420 9 times, leaving a remainder of 426.
Put 9 as the next digit of the answer. 
Result so far: 87399.39
Deduct 5994 from 6420 and we're left with 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

Advancing to step 11:
4260 divided by 666 is 6 with a remainder of 264.
The number 6 becomes the next digit in our result. 
Result so far: 87399.396
Subtracting 3996 from 4260 leaves us with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Step 12:
666 can be fit into 2640 3 times, resulting in a remainder of 642.
Write down 3 as next digit of the result. 
Result so far: 87399.3963
If we take 1998 away from 2640, we end up with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Going ahead to step 13:
When dividing 6420 by 666, we get 9 with a remainder of 426.
Write down 9 as next digit of the result. 
Result so far: 87399.39639
If we take 5994 away from 6420, we end up with 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

On to step 14:
When dividing 4260 by 666, we get 6 with a remainder of 264.
The next digit of our result is 6. 
Result so far: 87399.396396
Subtract 3996 from 4260 to get 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Advancing to step 15:
The number 666 fits into 2640 3 times, leaving a remainder of 642.
The next digit of our result is 3. 
Result so far: 87399.3963963
Deduct 1998 from 2640 and we're left with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Let's proceed to step 16:
666 goes into 6420 9 times with a remainder of 426.
The number 9 becomes the next digit in our result. 
Result so far: 87399.39639639
Deduct 5994 from 6420 and we're left with 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

The final result is 87399.39639639 with a remainder of 4.26e-07.