%I #14 Aug 29 2022 10:22:48
%S 3,1,3,7,1,7,1,5,3,1,19,11,1,19,19,11,1,19,23,1,1,47,1,1,29,3,29,31,
%T 59,73,1,43,1,13,17,41,1,5,5,3,53,79,7,1,53,23,1,13,13,61,7,59,61,7,
%U 31,1,89,107,103,67,47,103,19,43,1,71,11,7,83,79,67,71,29
%N a(n) is the difference between n! and the next smaller odd squarefree semiprime (A046388).
%e a(4) = 3 = 4! - 3*7;
%e a(5) = 1 = 5! - 7*17;
%e a(6) = 3 = 6! - 3*239.
%o (PARI) isok(k) = my(f=factor(k)); (bigomega(f) == 2) && (omega(f)==2)
%o a(n) = my(k=n!-1); while (!isok(k), k-=2); n!-k; \\ _Michel Marcus_, Aug 29 2022
%Y Cf. A000142, A046388, A131057.
%K nonn
%O 4,1
%A _Hugo Pfoertner_, Aug 28 2022
%E More terms from _Jinyuan Wang_, Aug 28 2022