Let's divide 40852118 by 34
The aim is to understand the frequency of 34 in 40852118.

Let's proceed to step 1:
4 divided by 34 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 34

Advancing to step 2:
The number 34 fits into 40 1 times, leaving a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 34 away from 40, we end up with 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 34

Moving on to step 3:
68 divided by 34 is 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 68 from 68 leaves us with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 34

Let's proceed to step 4:
34 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 120.0
Subtract 0 from 5 to get 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 34

Moving on to step 5:
When dividing 52 by 34, we get 1 with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 1201.0
Subtract 34 from 52 to get 18.
Take the next digit (1) from the dividend and append it to 18, then repeat: 181 / 34

Step 6:
The number 34 fits into 181 5 times, leaving a remainder of 11.
Use 5 as the next digit of our solution. 
Result so far: 12015.0
If we subtract 170 from 181, we get 11.
Bring next digit (1) of the dividend behind the 11 and repeat the process: 111 / 34

On to step 7:
34 goes into 111 3 times with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 120153.0
If we take 102 away from 111, we end up with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 34

Advancing to step 8:
34 goes into 98 2 times with a remainder of 30.
The number 2 becomes the next digit in our result. 
Result so far: 1201532.0
Subtracting 68 from 98 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 9:
300 divided by 34 is 8 with a remainder of 28.
The next digit of our result is 8. 
Result so far: 1201532.8
If we take 272 away from 300, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 10:
When dividing 280 by 34, we get 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 1201532.88
Subtract 272 from 280 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 1201532.88 with a remaining 0.008.