login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154831 Numbers n such that n^4-2 is prime. 13
3, 7, 11, 13, 21, 29, 39, 41, 43, 49, 53, 59, 73, 83, 85, 87, 95, 99, 101, 119, 129, 141, 143, 175, 181, 185, 189, 207, 217, 239, 241, 277, 279, 293, 311, 315, 323, 339, 343, 363, 367, 371, 375, 381, 389, 409, 421, 433, 435, 451, 473, 483, 497, 503, 507, 515 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

lst={}; Do[p=n^4-2; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 7!}]; lst

Select[Range[600], PrimeQ[#^4-2]&] (* Harvey P. Dale, May 20 2012 *)

PROG

(MAGMA) [n: n in [1..500] | IsPrime(n^4-2)]; // Vincenzo Librandi, Nov 26 2010

(PARI) is(n)=isprime(n^4-2) \\ Charles R Greathouse IV, Jul 02 2013

CROSSREFS

Cf. A028870, A038599.

Sequence in context: A176800 A176797 A078098 * A206944 A206943 A059054

Adjacent sequences:  A154828 A154829 A154830 * A154832 A154833 A154834

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Jan 15 2009

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 17 14:07 EDT 2021. Contains 347478 sequences. (Running on oeis4.)