Let's divide 40513831 by 115
The aim is to understand the frequency of 115 in 40513831.

Advancing to step 1:
115 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 115

Going ahead to step 2:
The number 115 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (5) from the dividend to 40 and continue with: 405 / 115

Going ahead to step 3:
If we divide 405 by 115, we get 3 and a remainder of 60.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 60 after subtracting 345 from 405.
Grab the next digit (1) from the dividend, add it to 60, then carry on: 601 / 115

Moving on to step 4:
If we divide 601 by 115, we get 5 and a remainder of 26.
Put 5 as the next digit of the answer. 
Result so far: 35.0
The remainder is 26 after subtracting 575 from 601.
Grab the next digit (3) from the dividend, add it to 26, then carry on: 263 / 115

Let's proceed to step 5:
When dividing 263 by 115, we get 2 with a remainder of 33.
Put 2 as the next digit of the answer. 
Result so far: 352.0
Subtract 230 from 263 to get 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 115

Let's proceed to step 6:
When dividing 338 by 115, we get 2 with a remainder of 108.
Write down 2 as next digit of the result. 
Result so far: 3522.0
Subtracting 230 from 338 leaves us with 108.
Grab the next digit (3) from the dividend, add it to 108, then carry on: 1083 / 115

Going ahead to step 7:
115 goes into 1083 9 times with a remainder of 48.
Put 9 as the next digit of the answer. 
Result so far: 35229.0
Subtract 1035 from 1083 to get 48.
Append the next digit (1) from the dividend to 48 and continue with: 481 / 115

Advancing to step 8:
115 goes into 481 4 times with a remainder of 21.
Put 4 as the next digit of the answer. 
Result so far: 352294.0
If we subtract 460 from 481, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 9:
115 can be fit into 210 1 times, resulting in a remainder of 95.
The next digit of our result is 1. 
Result so far: 352294.1
Subtract 115 from 210 to get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Step 10:
115 can be fit into 950 8 times, resulting in a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 352294.18
Subtracting 920 from 950 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.

Going ahead to step 11:
300 divided by 115 is 2 with a remainder of 70.
Record the quotient 2 as the next digit in the result. 
Result so far: 352294.182
Subtracting 230 from 300 leaves us 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.

Let's proceed to step 12:
If we divide 700 by 115, we get 6 and a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 352294.1826
If we take 690 away from 700, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
If we divide 100 by 115, we get 0 and a remainder of 100.
Put 0 as the next digit of the answer. 
Result so far: 352294.1826
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Advancing to step 14:
115 can be fit into 1000 8 times, resulting in a remainder of 80.
The number 8 becomes the next digit in our result. 
Result so far: 352294.182608
If we subtract 920 from 1000, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 15:
115 can be fit into 800 6 times, resulting in a remainder of 110.
Use 6 as the next digit of our solution. 
Result so far: 352294.1826086
The remainder is 110 after subtracting 690 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 16:
If we divide 1100 by 115, we get 9 and a remainder of 65.
The next digit of our result is 9. 
Result so far: 352294.18260869
The remainder is 65 after subtracting 1035 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

The final result is 352294.18260869 with a remainder of 6.5e-08.