login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028880 Primes of the form n^2 - 6. 3
3, 19, 43, 163, 283, 523, 619, 2203, 2803, 3019, 4219, 4483, 5323, 5923, 6883, 7219, 9403, 11443, 12763, 13219, 15619, 17683, 20443, 21019, 24019, 27883, 34963, 37243, 38803, 41203, 42019, 46219, 55219, 69163, 75619, 85843, 100483 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) == 19 mod 24 for all n > 1. - Zak Seidov, Mar 10 2015
LINKS
FORMULA
a(n) = A028879(n)^2 - 6. - Zak Seidov, Mar 10 2015
MATHEMATICA
lst={}; Do[s=n^2; If[PrimeQ[p=s-6], AppendTo[lst, p]], {n, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 26 2008 *)
PROG
(Magma) [ a: n in [1..250] | IsPrime(a) where a is 4*n^2+4*n-5 ] // Vincenzo Librandi, Aug 05 2010
(PARI) for(n=1, 500, if(isprime(p=n^2-6), print1(p, ", "))) \\ Derek Orr, Mar 11 2014
CROSSREFS
Sequence in context: A103145 A100694 A146664 * A162905 A201875 A063553
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 22 06:49 EDT 2024. Contains 373565 sequences. (Running on oeis4.)