In number theory, a Williams number base b is a natural number of the form for integers b ≥ 2 and n ≥ 1. The Williams numbers base 2 are exactly the Mersenne numbers. Williams prime A Williams prime is a Williams number that is prime. They were considered by Hugh C. Williams. Least n ≥ 1 such that (b−1)·bn − 1 is prime are: (start with b = 2) 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 14, 1, 1, 2, 6, 1, 1, 1, 55, 12, 1, 133, 1, 20, 1, 2, 1, 1, 2, 15, 3, 1, 7, 136211, 1, 1, 7, 1, 7, 7, 1, 1, 1, 2, 1, 25, 1, 5, 3, 1, 1, 1, 1, 2, 3, 1, 1, 899, 3, 11, 1, 1, 1, 63, 1, 13, 1, 25, 8, 3, 2, 7, 1, 44, 2, 11, 3, 81, 21495, 1, 2, 1, 1, 3, 25, 1, 519, 77, 476, 1, 1, 2, 1, 4983, 2, 2, ... , the largest known Williams prime base 3 is 2×31360104−1. Generalization A Williams number of the second kind base b is a natural number of the form for integers b ≥ 2 and n ≥ 1, a Williams prime of the second kind is a Williams number of the second kind that is prime. The Williams primes of the second kind base 2 are exactly the Fermat primes. Least n ≥ 1 such that (b−1)·bn + 1 is prime are: (start with b = 2) 1, 1, 1, 2, 1, 1, 2, 1, 3, 10, 3, 1, 2, 1, 1, 4, 1, 29, 14, 1, 1, 14, 2, 1, 2, 4, 1, 2, 4, 5, 12, 2, 1, 2, 2, 9, 16, 1, 2, 80, 1, 2, 4, 2, 3, 16, 2, 2, 2, 1, 15, 960, 15, 1, 4, 3, 1, 14, 1, 6, 20, 1, 3, 946, 6, 1, 18, 10, 1, 4, 1, 5, 42, 4, 1, 828, 1, 1, 2, 1, 12, 2, 6, 4, 30, 3, 3022, 2, 1, 1, 8, 2, 4, 4, 2, 11, 8, 2, 1, ... , the largest known Williams prime of the second kind base 3 is 2×31175232+1. A Williams number of the third kind base b is a natural number of the form for integers b ≥ 2 and n ≥ 1, the Williams number of the third