login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A128661
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
3, 7, 14, 15, 21, 32, 34, 47, 67, 69, 174, 369, 568, 3193, 3882, 5426
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Rest[FoldList[Times, 1, Prime[Range[ 600]]]], 3, 1], _?(PrimeQ[#[[3]]+#[[2]]-#[[1]]-1]&), {1}, Heads-> False]]+1 (* Harvey P. Dale, May 26 2013 *)
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Mar 19 2007
EXTENSIONS
a(14)-a(16) from Michael S. Branicky, Jul 22 2023
STATUS
approved