18789059 divided by 374 
The aim is to understand the frequency of 374 in 18789059.

Step 1:
The number 374 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 374

On to step 2:
When dividing 18 by 374, we get 0 with a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Include the next digit (7) from the dividend after 18, then repeat: 187 / 374

Moving on to step 3:
374 can be fit into 187 0 times, resulting in a remainder of 187.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 187, we get 187.
Append the next digit (8) from the dividend to 187 and continue with: 1878 / 374

Advancing to step 4:
374 can be fit into 1878 5 times, resulting in a remainder of 8.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 1870 from 1878 to get 8.
Take the next digit (9) from the dividend and append it to 8, then repeat: 89 / 374

Step 5:
If we divide 89 by 374, we get 0 and a remainder of 89.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
The remainder is 89 after subtracting 0 from 89.
Append the next digit (0) from the dividend to 89 and continue with: 890 / 374

Advancing to step 6:
374 can be fit into 890 2 times, resulting in a remainder of 142.
Record the quotient 2 as the next digit in the result. 
Result so far: 502.0
If we take 748 away from 890, we end up with 142.
Grab the next digit (5) from the dividend, add it to 142, then carry on: 1425 / 374

Let's proceed to step 7:
1425 divided by 374 is 3 with a remainder of 303.
The next digit of our result is 3. 
Result so far: 5023.0
If we take 1122 away from 1425, we end up with 303.
Bring next digit (9) of the dividend behind the 303 and repeat the process: 3039 / 374

Moving on to step 8:
374 goes into 3039 8 times with a remainder of 47.
The number 8 becomes the next digit in our result. 
Result so far: 50238.0
Subtracting 2992 from 3039 leaves us with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Step 9:
When dividing 470 by 374, we get 1 with a remainder of 96.
The next digit of our result is 1. 
Result so far: 50238.1
If we subtract 374 from 470, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Step 10:
374 can be fit into 960 2 times, resulting in a remainder of 212.
Record the quotient 2 as the next digit in the result. 
Result so far: 50238.12
Subtract 748 from 960 to get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Let's proceed to step 11:
374 goes into 2120 5 times with a remainder of 250.
Write down 5 as next digit of the result. 
Result so far: 50238.125
The remainder is 250 after subtracting 1870 from 2120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Step 12:
When dividing 2500 by 374, we get 6 with a remainder of 256.
Write down 6 as next digit of the result. 
Result so far: 50238.1256
The remainder is 256 after subtracting 2244 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 13:
2560 divided by 374 is 6 with a remainder of 316.
Record the quotient 6 as the next digit in the result. 
Result so far: 50238.12566
The remainder is 316 after subtracting 2244 from 2560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

After the division, we end up with 50238.12566 and a remainder of 0.000316.