31971090 divided by 581 
The aim is to understand the frequency of 581 in 31971090.

Step 1:
When dividing 3 by 581, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 581

Advancing to step 2:
581 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 581

On to step 3:
319 divided by 581 is 0 with a remainder of 319.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 319, we end up with 319.
Bring next digit (7) of the dividend behind the 319 and repeat the process: 3197 / 581

Step 4:
When dividing 3197 by 581, we get 5 with a remainder of 292.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 2905 from 3197 and we're left with 292.
Grab the next digit (1) from the dividend, add it to 292, then carry on: 2921 / 581

Going ahead to step 5:
If we divide 2921 by 581, we get 5 and a remainder of 16.
Record the quotient 5 as the next digit in the result. 
Result so far: 55.0
If we subtract 2905 from 2921, we get 16.
Take the next digit (0) from the dividend and append it to 16, then repeat: 160 / 581

Advancing to step 6:
If we divide 160 by 581, we get 0 and a remainder of 160.
Use 0 as the next digit of our solution. 
Result so far: 550.0
If we take 0 away from 160, we end up with 160.
Grab the next digit (9) from the dividend, add it to 160, then carry on: 1609 / 581

Let's proceed to step 7:
The number 581 fits into 1609 2 times, leaving a remainder of 447.
Put 2 as the next digit of the answer. 
Result so far: 5502.0
The remainder is 447 after subtracting 1162 from 1609.
Bring next digit (0) of the dividend behind the 447 and repeat the process: 4470 / 581

Moving on to step 8:
4470 divided by 581 is 7 with a remainder of 403.
Record the quotient 7 as the next digit in the result. 
Result so far: 55027.0
If we take 4067 away from 4470, we end up with 403.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4030, and continue the process.

Advancing to step 9:
581 can be fit into 4030 6 times, resulting in a remainder of 544.
The next digit of our result is 6. 
Result so far: 55027.6
If we subtract 3486 from 4030, we get 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Let's proceed to step 10:
581 can be fit into 5440 9 times, resulting in a remainder of 211.
Put 9 as the next digit of the answer. 
Result so far: 55027.69
If we take 5229 away from 5440, we end up with 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

Step 11:
581 can be fit into 2110 3 times, resulting in a remainder of 367.
Record the quotient 3 as the next digit in the result. 
Result so far: 55027.693
Deduct 1743 from 2110 and we're left with 367.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3670, and continue the process.

Step 12:
When dividing 3670 by 581, we get 6 with a remainder of 184.
The next digit of our result is 6. 
Result so far: 55027.6936
If we subtract 3486 from 3670, we get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 13:
581 goes into 1840 3 times with a remainder of 97.
Put 3 as the next digit of the answer. 
Result so far: 55027.69363
The remainder is 97 after subtracting 1743 from 1840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

On to step 14:
581 can be fit into 970 1 times, resulting in a remainder of 389.
The number 1 becomes the next digit in our result. 
Result so far: 55027.693631
Subtract 581 from 970 to get 389.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3890, and continue the process.

Advancing to step 15:
581 can be fit into 3890 6 times, resulting in a remainder of 404.
Write down 6 as next digit of the result. 
Result so far: 55027.6936316
If we take 3486 away from 3890, we end up with 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Moving on to step 16:
581 can be fit into 4040 6 times, resulting in a remainder of 554.
Write down 6 as next digit of the result. 
Result so far: 55027.69363166
Deduct 3486 from 4040 and we're left with 554.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5540, and continue the process.

The final outcome is 55027.69363166, with a leftover of 5.54e-07.