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!)
A154935 Numbers n such that n^7-2 is prime. 6
7, 15, 25, 87, 91, 99, 199, 211, 265, 337, 357, 361, 367, 405, 501, 511, 537, 595, 627, 685, 697, 771, 805, 841, 847, 861, 889, 931, 939, 979, 1035, 1047, 1081, 1125, 1135, 1177, 1225, 1231, 1287, 1315, 1321, 1387, 1425, 1497, 1501, 1627, 1741, 1795, 1807 (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^7-2; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 7!}]; lst

Select[Range[2*10^3], PrimeQ[#^7 - 2] &] (* Vincenzo Librandi, Mar 20 2014 *)

PROG

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

(PARI) is(n)=isprime(n^7-2) \\ Charles R Greathouse IV, Feb 17 2017

CROSSREFS

Cf. A028870, A038599, A154831, A154832, A154833, A154834, A154933, A154934.

Sequence in context: A298577 A299569 A260558 * A012480 A226470 A063611

Adjacent sequences:  A154932 A154933 A154934 * A154936 A154937 A154938

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Jan 17 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 11:25 EDT 2022. Contains 356145 sequences. (Running on oeis4.)