10403161 divided by 258 
The aim is to understand the frequency of 258 in 10403161.

Step 1:
The number 258 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 258

Step 2:
258 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Fetch the next digit (4) from the dividend, attach it to 10 and continue: 104 / 258

Let's proceed to step 3:
258 goes into 104 0 times with a remainder of 104.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 104 after subtracting 0 from 104.
Include the next digit (0) from the dividend after 104, then repeat: 1040 / 258

Going ahead to step 4:
258 can be fit into 1040 4 times, resulting in a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 1032 from 1040 leaves us with 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 258

Advancing to step 5:
If we divide 83 by 258, we get 0 and a remainder of 83.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Subtracting 0 from 83 leaves us with 83.
Grab the next digit (1) from the dividend, add it to 83, then carry on: 831 / 258

Advancing to step 6:
258 can be fit into 831 3 times, resulting in a remainder of 57.
Put 3 as the next digit of the answer. 
Result so far: 403.0
If we take 774 away from 831, we end up with 57.
Include the next digit (6) from the dividend after 57, then repeat: 576 / 258

On to step 7:
258 can be fit into 576 2 times, resulting in a remainder of 60.
Put 2 as the next digit of the answer. 
Result so far: 4032.0
The remainder is 60 after subtracting 516 from 576.
Include the next digit (1) from the dividend after 60, then repeat: 601 / 258

Advancing to step 8:
258 goes into 601 2 times with a remainder of 85.
Record the quotient 2 as the next digit in the result. 
Result so far: 40322.0
If we take 516 away from 601, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Advancing to step 9:
850 divided by 258 is 3 with a remainder of 76.
Put 3 as the next digit of the answer. 
Result so far: 40322.3
Subtract 774 from 850 to get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 10:
258 goes into 760 2 times with a remainder of 244.
Use 2 as the next digit of our solution. 
Result so far: 40322.32
If we take 516 away from 760, we end up with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 11:
If we divide 2440 by 258, we get 9 and a remainder of 118.
The number 9 becomes the next digit in our result. 
Result so far: 40322.329
If we take 2322 away from 2440, we end up with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Moving on to step 12:
If we divide 1180 by 258, we get 4 and a remainder of 148.
Put 4 as the next digit of the answer. 
Result so far: 40322.3294
If we subtract 1032 from 1180, we get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 13:
258 goes into 1480 5 times with a remainder of 190.
The next digit of our result is 5. 
Result so far: 40322.32945
Subtracting 1290 from 1480 leaves us 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.

Step 14:
258 can be fit into 1900 7 times, resulting in a remainder of 94.
The number 7 becomes the next digit in our result. 
Result so far: 40322.329457
If we subtract 1806 from 1900, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

On to step 15:
The number 258 fits into 940 3 times, leaving a remainder of 166.
Write down 3 as next digit of the result. 
Result so far: 40322.3294573
Subtracting 774 from 940 leaves us with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Let's proceed to step 16:
The number 258 fits into 1660 6 times, leaving a remainder of 112.
Write down 6 as next digit of the result. 
Result so far: 40322.32945736
Subtracting 1548 from 1660 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

The final outcome is 40322.32945736, with a leftover of 1.12e-07.