Let's divide 514161 by 58
The aim is to understand the frequency of 58 in 514161.

Going ahead to step 1:
If we divide 5 by 58, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 58

Step 2:
51 divided by 58 is 0 with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Fetch the next digit (4) from the dividend, attach it to 51 and continue: 514 / 58

Going ahead to step 3:
58 can be fit into 514 8 times, resulting in a remainder of 50.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 464 from 514 to get 50.
Fetch the next digit (1) from the dividend, attach it to 50 and continue: 501 / 58

On to step 4:
When dividing 501 by 58, we get 8 with a remainder of 37.
Write down 8 as next digit of the result. 
Result so far: 88.0
If we take 464 away from 501, we end up with 37.
Fetch the next digit (6) from the dividend, attach it to 37 and continue: 376 / 58

Moving on to step 5:
When dividing 376 by 58, we get 6 with a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 886.0
If we subtract 348 from 376, we get 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 58

Going ahead to step 6:
If we divide 281 by 58, we get 4 and a remainder of 49.
The number 4 becomes the next digit in our result. 
Result so far: 8864.0
If we take 232 away from 281, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Step 7:
When dividing 490 by 58, we get 8 with a remainder of 26.
Use 8 as the next digit of our solution. 
Result so far: 8864.8
The remainder is 26 after subtracting 464 from 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
The number 58 fits into 260 4 times, leaving a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 8864.84
Subtract 232 from 260 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
When dividing 280 by 58, we get 4 with a remainder of 48.
The number 4 becomes the next digit in our result. 
Result so far: 8864.844
Deduct 232 from 280 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Our division results in 8864.844 with a remaining 0.0048.