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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028885 Numbers n such that n^2 - 8 is prime. 1
5, 7, 9, 11, 17, 19, 21, 23, 25, 31, 35, 37, 45, 49, 51, 53, 65, 67, 81, 87, 91, 93, 101, 103, 115, 117, 119, 121, 123, 129, 133, 135, 143, 145, 147, 149, 161, 163, 173, 177, 185, 187, 191, 203, 205, 207, 213, 227, 229, 231, 235, 241, 245, 247, 257, 259, 261, 269 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

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

MATHEMATICA

Select[Range[3, 1200], PrimeQ[#^2-8]&] (* Vladimir Joseph Stephan Orlovsky, Feb 27 2011 *)

PROG

(MAGMA) [n: n in [3..1000] | IsPrime(n^2-8)]; // Vincenzo Librandi, Nov 18 2010

(PARI) is(n)=isprime(n^2-8) \\ Charles R Greathouse IV, Jun 06 2017

CROSSREFS

Cf. A028886 (associated primes).

Sequence in context: A086398 A023380 A076190 * A228233 A256091 A229064

Adjacent sequences:  A028882 A028883 A028884 * A028886 A028887 A028888

KEYWORD

nonn,easy

AUTHOR

Patrick De Geest

EXTENSIONS

Checked by Neven Juric (neven.juric(AT)apis-it.hr), Feb 04 2008

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified January 22 22:38 EST 2018. Contains 298093 sequences.