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!)
A139439 Numbers n such that primorial(n)/2 + 4 is prime. 24
1, 2, 3, 4, 7, 18, 21, 70, 76, 323, 340, 556, 572, 3433, 5457, 5897, 10820 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(17) > 25000. - Robert Price, Nov 11 2016
LINKS
MATHEMATICA
k=1/2; a={}; Do[k=k*Prime[n]; If[PrimeQ[k+4], Print[n]; AppendTo[a, n]], {n, 600}]; a (* Vladimir Joseph Stephan Orlovsky, Aug 20 2008; corrected by Ray Chandler, Jun 16 2013 *)
Position[#/2+4&/@FoldList[Times, Prime[Range[600]]], _?(PrimeQ[#]&)]// Flatten (* The program generates the first 13 terms of the sequence. To generate more, increase the Range constant, but the program may take a long time to run.*) (* Harvey P. Dale, Mar 20 2021 *)
PROG
(PARI) n=0; t=1/2; forprime(p=2, 1e9, n++; t*=p; if(ispseudoprime(t+4), print1(n", "))) \\ Charles R Greathouse IV, Apr 28 2015
CROSSREFS
Sequence in context: A179985 A338928 A110705 * A352902 A119330 A373392
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, Apr 21 2008
EXTENSIONS
a(1)=1 inserted and a(12)-a(13) from Ray Chandler, Jun 16 2013
a(14)-a(16) from Robert Price, Nov 11 2016
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 July 1 11:07 EDT 2024. Contains 373915 sequences. (Running on oeis4.)