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!)
A173179 Numbers n such that n^4-n^3-n^2-n-1 is prime. 3
3, 8, 9, 11, 14, 17, 18, 20, 24, 27, 38, 41, 45, 48, 50, 51, 56, 59, 60, 62, 63, 71, 77, 78, 81, 84, 86, 87, 90, 92, 93, 95, 101, 111, 113, 114, 119, 146, 147, 153, 155, 171, 179, 186, 204, 207, 219, 225, 230, 231, 233, 234, 240, 246, 254, 255, 267, 284, 287, 291 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

All terms == 0 or 2 (mod 3). - Robert Israel, Mar 09 2020

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

select(t -> isprime(t^4-t^3-t^2-t-1), [$2..1000]); # Robert Israel, Mar 09 2020

MATHEMATICA

f[n_]:=n^4-n^3-n^2-n-1; Select[Range[6! ], PrimeQ[f[ #1]]&]

PROG

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

(MAGMA) [n: n in [2..350] | IsPrime(n^4 - n^3 - n^2 - n - 1)]; // Vincenzo Librandi, Mar 16 2020

CROSSREFS

Cf. A125082, A002328, A162294.

Sequence in context: A247544 A080524 A024550 * A225555 A047472 A304204

Adjacent sequences:  A173176 A173177 A173178 * A173180 A173181 A173182

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Feb 11 2010

EXTENSIONS

Edited by N. J. A. Sloane, Apr 10 2010

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 July 13 22:21 EDT 2020. Contains 335716 sequences. (Running on oeis4.)