login

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

Numbers k such that k, k+1, k+2, k+3 and k+4 are terms of A288041.
0

%I #18 Aug 08 2020 23:02:03

%S 1547,16526,21081,43251,50752,90078,101630,114707,116967,124913,

%T 189077,189242,205058,205059,217409,221474,222915,229278,229279,

%U 230805,232670,287891,290937,320916,419830,435140,467550,479689,479690,498052,558747,617321,633490,633491,719374,719375,737073

%N Numbers k such that k, k+1, k+2, k+3 and k+4 are terms of A288041.

%C Subsequence of numbers k such that k, k+1, k+2, k+3, k+4 and k+5 are terms of A288041: 205058, 229278, 479689, 633490, 719374, 855732, 992975, 992976, 992977, 1271040, 1271041, 1271042.

%t s = {}; p = Prime @ Range[9]; Do[If[AllTrue[Total @ Partition[p, 5, 1], PrimeQ], AppendTo[s, n]]; p = Join[Rest[p], {NextPrime @ Last[p]}], {n, 10^6}]; s (* _Amiram Eldar_, Jul 22 2020 *)

%Y Cf. A288041.

%K nonn

%O 1,1

%A _Zak Seidov_, Jul 17 2020