40113371 divided by 348 
The aim is to understand the frequency of 348 in 40113371.

Going ahead to step 1:
4 divided by 348 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 348

Advancing to step 2:
The number 348 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 348

Advancing to step 3:
401 divided by 348 is 1 with a remainder of 53.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 348 away from 401, we end up with 53.
Include the next digit (1) from the dividend after 53, then repeat: 531 / 348

On to step 4:
348 can be fit into 531 1 times, resulting in a remainder of 183.
The next digit of our result is 1. 
Result so far: 11.0
Subtract 348 from 531 to get 183.
Grab the next digit (3) from the dividend, add it to 183, then carry on: 1833 / 348

Moving on to step 5:
348 goes into 1833 5 times with a remainder of 93.
Put 5 as the next digit of the answer. 
Result so far: 115.0
If we subtract 1740 from 1833, we get 93.
Grab the next digit (3) from the dividend, add it to 93, then carry on: 933 / 348

Advancing to step 6:
348 goes into 933 2 times with a remainder of 237.
Put 2 as the next digit of the answer. 
Result so far: 1152.0
If we subtract 696 from 933, we get 237.
Fetch the next digit (7) from the dividend, attach it to 237 and continue: 2377 / 348

On to step 7:
2377 divided by 348 is 6 with a remainder of 289.
Write down 6 as next digit of the result. 
Result so far: 11526.0
Subtracting 2088 from 2377 leaves us with 289.
Fetch the next digit (1) from the dividend, attach it to 289 and continue: 2891 / 348

Step 8:
If we divide 2891 by 348, we get 8 and a remainder of 107.
Record the quotient 8 as the next digit in the result. 
Result so far: 115268.0
Deduct 2784 from 2891 and we're left with 107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

Moving on to step 9:
1070 divided by 348 is 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 115268.3
Deduct 1044 from 1070 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 10:
260 divided by 348 is 0 with a remainder of 260.
Put 0 as the next digit of the answer. 
Result so far: 115268.3
If we take 0 away from 260, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Moving on to step 11:
2600 divided by 348 is 7 with a remainder of 164.
Use 7 as the next digit of our solution. 
Result so far: 115268.307
Deduct 2436 from 2600 and we're left with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Moving on to step 12:
1640 divided by 348 is 4 with a remainder of 248.
The number 4 becomes the next digit in our result. 
Result so far: 115268.3074
If we subtract 1392 from 1640, we get 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Advancing to step 13:
348 goes into 2480 7 times with a remainder of 44.
Put 7 as the next digit of the answer. 
Result so far: 115268.30747
Deduct 2436 from 2480 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 14:
348 goes into 440 1 times with a remainder of 92.
Record the quotient 1 as the next digit in the result. 
Result so far: 115268.307471
Subtract 348 from 440 to get 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

On to step 15:
348 can be fit into 920 2 times, resulting in a remainder of 224.
Record the quotient 2 as the next digit in the result. 
Result so far: 115268.3074712
Subtracting 696 from 920 leaves us with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Let's proceed to step 16:
348 goes into 2240 6 times with a remainder of 152.
Use 6 as the next digit of our solution. 
Result so far: 115268.30747126
If we subtract 2088 from 2240, we get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

The final outcome is 115268.30747126, with a leftover of 1.52e-07.