OFFSET
1,1
COMMENTS
Let P(m) denote the prime factors of m and C(m) = Clausen(m-1, 1) (cf. A160014) then Product_{p in P(C(m)) setminus P(m)} p is in this sequence provided P(m) is a subset of P(C(m)).
EXAMPLE
Let n = 561 then P(561) = {3, 11, 17} and P(Clausen(560,1)) = {2, 3, 5, 11, 17, 29, 41, 71, 113, 281}. Since P(561) is a subset of P(Clausen(560, 1)), a(18) = 2*5*29*41*71*113*281 = 26805565070.
MAPLE
MATHEMATICA
pf[n_] := FactorInteger[n][[All, 1]];
Clausen[0, _] = 1; Clausen[n_, k_] := Times @@ (Select[Divisors[n], PrimeQ[# + k]&] + k);
weakCarmQ[n_] := If[EvenQ[n] || PrimeQ[n], Return[False], pf[n] == (pf[n] ~Intersection~ pf[Clausen[n - 1, 1]])];
f[n_] := Times @@ Complement[pf[Clausen[n - 1, 1]], pf[n]];
f /@ Select[Range[2, 2000], weakCarmQ] (* Jean-François Alcover, Jul 21 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, May 21 2019
STATUS
approved