36964108 ÷ 397 
The aim is to understand the frequency of 397 in 36964108.

Going ahead to step 1:
3 divided by 397 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 397

Going ahead to step 2:
When dividing 36 by 397, we get 0 with a remainder of 36.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 36, we get 36.
Grab the next digit (9) from the dividend, add it to 36, then carry on: 369 / 397

Moving on to step 3:
When dividing 369 by 397, we get 0 with a remainder of 369.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 369 leaves us with 369.
Append the next digit (6) from the dividend to 369 and continue with: 3696 / 397

Going ahead to step 4:
If we divide 3696 by 397, we get 9 and a remainder of 123.
The next digit of our result is 9. 
Result so far: 9.0
Subtracting 3573 from 3696 leaves us with 123.
Include the next digit (4) from the dividend after 123, then repeat: 1234 / 397

Step 5:
1234 divided by 397 is 3 with a remainder of 43.
Put 3 as the next digit of the answer. 
Result so far: 93.0
Deduct 1191 from 1234 and we're left with 43.
Grab the next digit (1) from the dividend, add it to 43, then carry on: 431 / 397

Advancing to step 6:
If we divide 431 by 397, we get 1 and a remainder of 34.
The next digit of our result is 1. 
Result so far: 931.0
The remainder is 34 after subtracting 397 from 431.
Take the next digit (0) from the dividend and append it to 34, then repeat: 340 / 397

Moving on to step 7:
When dividing 340 by 397, we get 0 with a remainder of 340.
Put 0 as the next digit of the answer. 
Result so far: 9310.0
Deduct 0 from 340 and we're left with 340.
Fetch the next digit (8) from the dividend, attach it to 340 and continue: 3408 / 397

Advancing to step 8:
When dividing 3408 by 397, we get 8 with a remainder of 232.
Record the quotient 8 as the next digit in the result. 
Result so far: 93108.0
The remainder is 232 after subtracting 3176 from 3408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Moving on to step 9:
397 goes into 2320 5 times with a remainder of 335.
Write down 5 as next digit of the result. 
Result so far: 93108.5
Deduct 1985 from 2320 and we're left with 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Let's proceed to step 10:
3350 divided by 397 is 8 with a remainder of 174.
Record the quotient 8 as the next digit in the result. 
Result so far: 93108.58
Subtracting 3176 from 3350 leaves us with 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Going ahead to step 11:
The number 397 fits into 1740 4 times, leaving a remainder of 152.
Record the quotient 4 as the next digit in the result. 
Result so far: 93108.584
If we take 1588 away from 1740, we end up with 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Advancing to step 12:
397 goes into 1520 3 times with a remainder of 329.
The number 3 becomes the next digit in our result. 
Result so far: 93108.5843
Deduct 1191 from 1520 and we're left with 329.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3290, and continue the process.

Step 13:
When dividing 3290 by 397, we get 8 with a remainder of 114.
Put 8 as the next digit of the answer. 
Result so far: 93108.58438
If we subtract 3176 from 3290, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 14:
The number 397 fits into 1140 2 times, leaving a remainder of 346.
The next digit of our result is 2. 
Result so far: 93108.584382
Subtracting 794 from 1140 leaves us with 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Moving on to step 15:
If we divide 3460 by 397, we get 8 and a remainder of 284.
The number 8 becomes the next digit in our result. 
Result so far: 93108.5843828
Subtract 3176 from 3460 to get 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Going ahead to step 16:
If we divide 2840 by 397, we get 7 and a remainder of 61.
The next digit of our result is 7. 
Result so far: 93108.58438287
If we take 2779 away from 2840, we end up with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

The final outcome is 93108.58438287, with a leftover of 6.1e-08.