OFFSET
1,2
COMMENTS
Note the triples of consecutive zeros in A125211 for n = {{50,51,52}, {56,57,58}, {86,87,88}, {92,93,94}, ...}. Most zeros in A125211 have even indices. The middle index of most consecutive zero triples in A125211 is odd and is a multiple of 3. Numbers n such that no prime exists of the form (k! - 3n - 1), (k! - 3n), (k! - 3n + 1) are listed in A125213. The first pair of odd middle indices of zero triples that are not divisible by 3 is n = 325 and n = 329. They belong to the first septuplet of consecutive zeros in A125211. A125211(n) = 0 for 7 consecutive terms from n = 324 to n = 330.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
A125211 begins {0,0,2,3,2,1,3,2,2,0,5,1,7,1,1,0,9,1,6,1,2,1,4,1,2,1,1,0,5,1,8,1,1,0,2,0,10,1,1,0,6,1,10,1,1,0,10,1,3,0,0,0,7,...}.
Thus a(1) = 1, a(2) = 2, a(3) = 10, a(10)-a(12) = {50,51,52}.
MATHEMATICA
k={}; Do[If[Length[Select[Range[m], PrimeQ[#!-m]&]]==0, AppendTo[k, m]], {m, 189}]; k (* James C. McMahon, Dec 16 2024 *)
PROG
(PARI) isok(m)={for(k=1, m-1, if(isprime(abs(k!-m)), return(0))); 1} \\ Andrew Howroyd, Dec 16 2024
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Alexander Adamchuk, Nov 23 2006
STATUS
approved