In mathematics, a Riesel number is an odd natural number k for which k × 2 n − 1 {\displaystyle k\times 2^{n}-1} is composite for all natural numbers n (sequence A101036 in the OEIS). In other words, when k is a Riesel number, all members of the following set are composite:
If the form is instead k × 2 n + 1 {\displaystyle k\times 2^{n}+1} , then k is a Sierpiński number.