A395102 · a(1) = 3; a(n) is the smallest odd prime not occurring earlier so that a(n) mod a(n-1) is prime.
There are three ways that the next term may be generated. If there is at least an odd prime < a(n) not on the list, a(n+1) is the smallest among them. Otherwise, if a(n)+2 is prime and not on the list, a(n+1) = a(n)+2. Otherwise, a(n+1) takes the form 2ka(n)+p with prime p. It is conjectured that k is always 1, which has been confirmed until n = 10000.
Ver un ejemplo concreto
a(2) = 5 as 5 is prime and 5 mod 3 = 2 is prime.
a(4) = 17 as 17 is prime and 17 mod 7 = 3 is prime.
a(5) = 11 as 11 is prime and 11 mod 17 = 11 is prime.