The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A037030 Numbers n such that 666*n + 1 is prime. 5
3, 5, 7, 10, 12, 16, 22, 23, 25, 26, 32, 35, 36, 38, 40, 46, 50, 51, 57, 58, 61, 63, 65, 67, 68, 71, 73, 77, 78, 80, 85, 87, 91, 98, 100, 102, 105, 107, 123, 137, 138, 140, 142, 143, 150, 155, 158, 161, 165, 166, 172, 177, 178, 180, 187, 190, 191, 192, 197, 200, 205 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
f[n_]:=666*n+1; lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 02 2009 *)
Select[Range[3, 1000], PrimeQ[666 # + 1] &] (* Vincenzo Librandi, May 19 2014 *)
PROG
(Magma) [n: n in [1..1000] | IsPrime(666*n + 1)]; // Vincenzo Librandi, Nov 17 2010
(PARI) is(n)=isprime(666*n+1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Cf. A037029.
Sequence in context: A182136 A335408 A211266 * A277719 A251553 A075782
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Michel ten Voorde
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 May 14 14:46 EDT 2024. Contains 372533 sequences. (Running on oeis4.)