To determine which numbers are not divisible by 5, we first find A and B from the given series 20, p, q, r, s, 165. The roots of w squared minus 6w plus 8 equals 0 are 2 and 4, so the largest root B is 4. Since A is the highest common factor of two prime numbers P and Q, and we need a valid series, A must be 1. We calculate the gaps using the formulas: p minus 20 equals (1 plus 3) squared plus 4 which is 20, making p equal to 40. Next, q minus p equals (1 plus 2) squared plus 4 which is 13, making q equal to 53. Then, r minus q equals (1 plus 4) squared plus 4 which is 29, making r equal to 82. Finally, s minus r equals (1 plus 5) squared plus 4 which is 40, making s equal to 122. The numbers are 20, 40, 53, 82, 122 and 165, and checking for divisibility by 5 shows that q, r and s are not divisible by 5.