login
A372648
a(n) is the least k for which A237196(k) = n.
0
4, 10, 43, 1, 2, 26, 3, 28, 13, 2311675, 8396, 12918370, 37697697, 4096146353, 31002004800, 278569264790
OFFSET
1,1
COMMENTS
a(n) is the first k such that prime(k) + the product of the first n primes other than prime(k) is composite, while for j < n, prime(k) + the product of the first j primes other than prime(k) is prime.
Dickson's conjecture implies a(n) should exist.
FORMULA
A237196(a(n)) = n.
EXAMPLE
a(3) = 43: A237196(43) = 3 because prime(43) = 191 and 2 + 191 = 193 and 2 * 3 + 191 = 197 are primes but 2 * 3 * 5 + 191 = 221 is not prime, and no smaller number than 43 works.
MAPLE
f:= proc(n) local j, p, t;
t:= 1: p:= ithprime(n);
for j from 1 do
if j <> n then t:= t * ithprime(j) fi;
if not isprime(t+p) then if j >= n then return j-1 else return j fi fi;
od
end proc:
V:= Vector(8): count:= 0:
for n from 1 while count < 8 do
v:= f(n);
if V[v] = 0 then V[v]:= n; count:= count+1 fi
od:
convert(V, list);
CROSSREFS
Cf. A237196.
Sequence in context: A194993 A280907 A380530 * A332233 A149220 A149221
KEYWORD
nonn,more
AUTHOR
Robert Israel, May 08 2024
EXTENSIONS
a(10), a(12)-a(13) from Michael S. Branicky, May 08 2024
a(14) from Daniel Suteu, May 09 2024
a(15) from Michael S. Branicky, May 12 2024
a(16) from Michael S. Branicky, Jun 03 2024
STATUS
approved