login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028877 Primes of form n^2 - 5. 1
11, 31, 59, 139, 191, 251, 479, 571, 1019, 1151, 1291, 1439, 1759, 1931, 2111, 2699, 3359, 4091, 5179, 5471, 6079, 6719, 8831, 10399, 12539, 13451, 14879, 17419, 20731, 23099, 26891, 27551, 28219, 30271, 30971, 33119, 33851, 34591 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..8000

P. De Geest, Palindromic Quasipronics of the form n(n+x)

Eric Weisstein's World of Mathematics, Near-Square Prime

MATHEMATICA

lst = {}; Do[s = n^2; If[PrimeQ[p = s - 5], AppendTo[lst, p]], {n, 6!}]; lst (* From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 26 2008 *)

Select[Table[n^2 - 5, {n, 200}], PrimeQ] (* From Harvey P. Dale, Jan 17 2011 *)

PROG

(MAGMA) [a: n in [1..300] | IsPrime(a) where a is n^2-5]; // Vincenzo Librandi, Dec 01 2011

CROSSREFS

Sequence in context: A057628 A144364 A031372 * A087394 A196117 A040162

Adjacent sequences:  A028874 A028875 A028876 * A028878 A028879 A028880

KEYWORD

nonn

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 06:53 EST 2012. Contains 205451 sequences.