OFFSET
1,1
EXAMPLE
a(1) = 23, because 23 and 29 are 2 consecutive primes such that 23 = 6*4 - 1, while 29 = 6*5 - 1. Additionally, no smaller prime possesses this property.
a(2) = 19, because 19, 23 and 29 are 3 consecutive primes such that 19 = 6*3 + 1 and 23 = 6*4 - 1, while 29 = 6*5 - 1. Additionally, no smaller prime possesses this property.
Table of consecutive primes
1 [23] = 6*[4] + [-1];
2 [19, 23] = 6*[3, 4] + [1, -1];
3 [17, 19, 23] = 6*[3, 3, 4] + [-1, 1, -1];
4 [13, 17, 19, 23] = 6*[2, 3, 3, 4] + [1, -1, 1, -1];
5 [11, 13, 17, 19, 23] = 6*[2, 2, 3, 3, 4] + [-1, 1, -1, 1, -1];
CROSSREFS
KEYWORD
nonn
AUTHOR
Jean-Marc Rebert, Mar 19 2025
STATUS
approved
