login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes of form p^2-6, p also a prime.
0

%I #5 May 21 2021 17:04:58

%S 3,19,43,163,283,523,2203,2803,4483,5323,6883,9403,11443,12763,27883,

%T 37243,38803,69163,85843,100483,134683,139123,146683,208843,214363,

%U 218083,237163,253003,310243,351643,368443,413443,418603,452923,458323

%N Primes of form p^2-6, p also a prime.

%F a(n) = (A137270(n))^2-6.

%t f[n_]:=n^2-6; lst={};Do[p=Prime[n];If[PrimeQ[f[p]],AppendTo[lst,f[p]]], {n,7!}];lst

%t #^2-6&/@Select[Prime[Range[2,200]],PrimeQ[#^2-6]&] (* _Harvey P. Dale_, May 21 2021 *)

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Jul 16 2009

%E Cross-reference turned into formula by _R. J. Mathar_, Jul 27 2009