OFFSET
0,2
COMMENTS
The first zeros occur at 11980, 35050.
The terms of this sequence occurs as the digits in the primorial base expansion of the terms of A392864 (when read from right to left), from the term A392864(8) up to the term A392864(11980-1), after which, at n=11980 the pattern changes because of the first zero occurring in this sequence, entailing that A392615(11980) = 32 > 14 for the first time.
LINKS
MATHEMATICA
Mod[Accumulate[FoldList[Times, 1, Most[#]]] + 14, #] & [Prime[Range[100]]] (* Paolo Xausa, Jan 26 2026 *)
PROG
(PARI) A392862(n) = { my(q=prime(n+1), P=Mod(1, q), s=P+Mod(14, q)); forprime(p=2, q-1, s+=P*=p); lift(s); }; \\ After Charles R Greathouse IV's Sep 22 2022 program for A357270
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 26 2026
STATUS
approved
