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!)
A128662 Numbers k such that p(k+1)# + p(k)# - p(k-1)# + 1 is prime where p(i)#=product of first i primes=A002110(i). 5
8, 13, 14, 15, 30, 41, 71, 85, 97, 132, 231, 282, 424, 509, 1346, 1348, 3684 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Flatten[Position[Partition[FoldList[Times, Prime[Range[1350]]], 3, 1], _?(PrimeQ[ #[[2]]+#[[3]]-#[[1]]+1]&), 1, Heads->False]]+1 (* Harvey P. Dale, May 30 2018 *)
PROG
(PARI) P(n) = factorback(primes(n)); \\ A002110
isoko(k) = ispseudoprime(P(k+1)+P(k)-P(k-1)+1); \\ Michel Marcus, Sep 11 2022
CROSSREFS
Sequence in context: A070476 A335167 A124159 * A133192 A063684 A059194
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Mar 19 2007
EXTENSIONS
a(17) from Michael S. Branicky, Jun 23 2023
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 7 07:51 EDT 2024. Contains 372300 sequences. (Running on oeis4.)