1,2

Supersequence of A023200 (primes p such that p + 4 is also prime). Complement of A232010.

Table of n, a(n) for n=1..71.

2 is in sequence because 3^2 + 2 = 11 (3 and 11 are primes).

Module[{nn=50, prs}, prs=Prime[Range[nn]]^2; Select[Range[ 100], AnyTrue[ prs+#, PrimeQ]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 04 2020 *)

Cf. A232009, A232010, A232011, A023200.

Sequence in context: A157846 A285126 A187388 * A029596 A039160 A175439

Adjacent sequences: A232009 A232010 A232011 * A232013 A232014 A232015

nonn

Jaroslav Krizek, Nov 22 2013

approved