We look at the division of 56974978 by 581 
The aim is to understand the frequency of 581 in 56974978.

On to step 1:
581 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 581

Going ahead to step 2:
581 can be fit into 56 0 times, resulting in a remainder of 56.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 56, we end up with 56.
Include the next digit (9) from the dividend after 56, then repeat: 569 / 581

Let's proceed to step 3:
When dividing 569 by 581, we get 0 with a remainder of 569.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 569 leaves us with 569.
Take the next digit (7) from the dividend and append it to 569, then repeat: 5697 / 581

Step 4:
581 can be fit into 5697 9 times, resulting in a remainder of 468.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Deduct 5229 from 5697 and we're left with 468.
Take the next digit (4) from the dividend and append it to 468, then repeat: 4684 / 581

Let's proceed to step 5:
If we divide 4684 by 581, we get 8 and a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 98.0
If we take 4648 away from 4684, we end up with 36.
Bring next digit (9) of the dividend behind the 36 and repeat the process: 369 / 581

On to step 6:
When dividing 369 by 581, we get 0 with a remainder of 369.
Write down 0 as next digit of the result. 
Result so far: 980.0
Deduct 0 from 369 and we're left with 369.
Bring next digit (7) of the dividend behind the 369 and repeat the process: 3697 / 581

Going ahead to step 7:
The number 581 fits into 3697 6 times, leaving a remainder of 211.
Record the quotient 6 as the next digit in the result. 
Result so far: 9806.0
Deduct 3486 from 3697 and we're left with 211.
Grab the next digit (8) from the dividend, add it to 211, then carry on: 2118 / 581

Advancing to step 8:
When dividing 2118 by 581, we get 3 with a remainder of 375.
Write down 3 as next digit of the result. 
Result so far: 98063.0
Subtract 1743 from 2118 to get 375.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3750, and continue the process.

Let's proceed to step 9:
The number 581 fits into 3750 6 times, leaving a remainder of 264.
The next digit of our result is 6. 
Result so far: 98063.6
If we take 3486 away from 3750, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Going ahead to step 10:
The number 581 fits into 2640 4 times, leaving a remainder of 316.
Write down 4 as next digit of the result. 
Result so far: 98063.64
Subtract 2324 from 2640 to get 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Advancing to step 11:
581 goes into 3160 5 times with a remainder of 255.
The number 5 becomes the next digit in our result. 
Result so far: 98063.645
Deduct 2905 from 3160 and we're left with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Advancing to step 12:
The number 581 fits into 2550 4 times, leaving a remainder of 226.
Put 4 as the next digit of the answer. 
Result so far: 98063.6454
Deduct 2324 from 2550 and we're left with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Step 13:
2260 divided by 581 is 3 with a remainder of 517.
Put 3 as the next digit of the answer. 
Result so far: 98063.64543
Subtracting 1743 from 2260 leaves us with 517.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5170, and continue the process.

Step 14:
581 can be fit into 5170 8 times, resulting in a remainder of 522.
Write down 8 as next digit of the result. 
Result so far: 98063.645438
If we subtract 4648 from 5170, we get 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

On to step 15:
581 can be fit into 5220 8 times, resulting in a remainder of 572.
Put 8 as the next digit of the answer. 
Result so far: 98063.6454388
Subtract 4648 from 5220 to get 572.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5720, and continue the process.

Our division results in 98063.6454388 with a remaining 5.72e-06.