login
Primes of the form n^2 - 6.
3

%I #44 Aug 26 2024 11:43:46

%S 3,19,43,163,283,523,619,2203,2803,3019,4219,4483,5323,5923,6883,7219,

%T 9403,11443,12763,13219,15619,17683,20443,21019,24019,27883,34963,

%U 37243,38803,41203,42019,46219,55219,69163,75619,85843,100483

%N Primes of the form n^2 - 6.

%C a(n) == 19 mod 24 for all n > 1. - _Zak Seidov_, Mar 10 2015

%H Vincenzo Librandi, <a href="/A028880/b028880.txt">Table of n, a(n) for n = 1..1000</a>

%H P. De Geest, <a href="https://www.worldofnumbers.com/consemor.htm">Palindromic Quasipronics of the form n(n+x)</a>

%F a(n) = A028879(n)^2 - 6. - _Zak Seidov_, Mar 10 2015

%o (Magma) [ a: n in [1..250] | IsPrime(a) where a is 4*n^2+4*n-5 ]; // _Vincenzo Librandi_, Aug 05 2010

%o (PARI) for(n=1,500,if(isprime(p=n^2-6),print1(p,", "))) \\ _Derek Orr_, Mar 11 2014

%K nonn,easy

%O 1,1

%A _Patrick De Geest_