We look at the division of 42507586 by 366 
The aim is to understand the frequency of 366 in 42507586.

Advancing to step 1:
If we divide 4 by 366, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 366

Let's proceed to step 2:
If we divide 42 by 366, we get 0 and a remainder of 42.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 42 and we're left with 42.
Fetch the next digit (5) from the dividend, attach it to 42 and continue: 425 / 366

Advancing to step 3:
366 can be fit into 425 1 times, resulting in a remainder of 59.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 366 from 425 leaves us with 59.
Grab the next digit (0) from the dividend, add it to 59, then carry on: 590 / 366

Let's proceed to step 4:
590 divided by 366 is 1 with a remainder of 224.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtract 366 from 590 to get 224.
Fetch the next digit (7) from the dividend, attach it to 224 and continue: 2247 / 366

On to step 5:
2247 divided by 366 is 6 with a remainder of 51.
Record the quotient 6 as the next digit in the result. 
Result so far: 116.0
If we take 2196 away from 2247, we end up with 51.
Fetch the next digit (5) from the dividend, attach it to 51 and continue: 515 / 366

Step 6:
366 goes into 515 1 times with a remainder of 149.
The number 1 becomes the next digit in our result. 
Result so far: 1161.0
If we subtract 366 from 515, we get 149.
Append the next digit (8) from the dividend to 149 and continue with: 1498 / 366

On to step 7:
366 can be fit into 1498 4 times, resulting in a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 11614.0
Subtract 1464 from 1498 to get 34.
Bring next digit (6) of the dividend behind the 34 and repeat the process: 346 / 366

Advancing to step 8:
366 can be fit into 346 0 times, resulting in a remainder of 346.
The next digit of our result is 0. 
Result so far: 116140.0
The remainder is 346 after subtracting 0 from 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Going ahead to step 9:
366 can be fit into 3460 9 times, resulting in a remainder of 166.
Write down 9 as next digit of the result. 
Result so far: 116140.9
If we subtract 3294 from 3460, we get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Advancing to step 10:
When dividing 1660 by 366, we get 4 with a remainder of 196.
Put 4 as the next digit of the answer. 
Result so far: 116140.94
If we take 1464 away from 1660, we end up with 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

Step 11:
366 goes into 1960 5 times with a remainder of 130.
Record the quotient 5 as the next digit in the result. 
Result so far: 116140.945
Deduct 1830 from 1960 and we're left with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Going ahead to step 12:
366 goes into 1300 3 times with a remainder of 202.
The next digit of our result is 3. 
Result so far: 116140.9453
Subtracting 1098 from 1300 leaves us with 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

Going ahead to step 13:
If we divide 2020 by 366, we get 5 and a remainder of 190.
Record the quotient 5 as the next digit in the result. 
Result so far: 116140.94535
If we take 1830 away from 2020, we end up with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Going ahead to step 14:
366 can be fit into 1900 5 times, resulting in a remainder of 70.
Use 5 as the next digit of our solution. 
Result so far: 116140.945355
If we take 1830 away from 1900, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

The final result is 116140.945355 with a remainder of 7e-06.