OFFSET
1,1
COMMENTS
Clearly, no term is congruent to 4 modulo 5.
This sequence is interesting because of the conjecture in the comments in A230219.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = 5 since neither 2 + 6 nor 3 + 6 is prime, but 5 + 6 = 11 and 3*5 + 8 = 23 are both prime.
MATHEMATICA
PQ[p_]:=PrimeQ[p+6]&&PrimeQ[3p+8]
m=0
Do[If[PQ[Prime[n]], m=m+1; Print[m, " ", Prime[n]]], {n, 1, 225}]
Select[Prime[Range[300]], AllTrue[{#+6, 3#+8}, PrimeQ]&] (* Harvey P. Dale, Sep 01 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Oct 11 2013
STATUS
approved