login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Integers n such that prime(n) + prime(n+1) + prime(n+2) + prime(n+3) + prime(n)*prime(n+1)*prime(n+2)*prime(n+3) is prime.
1

%I #17 Jul 18 2024 11:49:42

%S 1,2,9,35,45,61,80,84,97,98,124,130,140,142,175,179,185,213,241,249,

%T 287,300,324,344,346,352,366,368,369,384,389,398,400,409,431,436,437,

%U 462,515,520,525,530,544,565,592,594,595,614,615,627,628,682,719,745,778,798,835,852,861

%N Integers n such that prime(n) + prime(n+1) + prime(n+2) + prime(n+3) + prime(n)*prime(n+1)*prime(n+2)*prime(n+3) is prime.

%H Harvey P. Dale, <a href="/A284550/b284550.txt">Table of n, a(n) for n = 1..1000</a>

%e n=1: 2+3+5+7+2*3*5*7=227=A000040(49),

%e n=2: 3+5+7+11+3*5*7*11=1181=A000040(194).

%t Position[Total[#]+Times@@#&/@Partition[Prime[Range[1000]],4,1],_?PrimeQ]//Flatten (* _Harvey P. Dale_, Jul 18 2024 *)

%Y Cf. A000040, A096342, A126199.

%K nonn

%O 1,2

%A _Zak Seidov_, Mar 29 2017