# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a060250 Showing 1-1 of 1 %I A060250 #17 Nov 02 2022 07:50:10 %S A060250 1,4,9,23,16,18,40,89 %N A060250 The smallest k such that k! + 1 has exactly n prime factors (with multiplicity). %t A060250 With[{f=PrimeOmega[Range[90]!+1]},Table[Position[f,_?(#==n&),1,1],{n,8}]]//Flatten (* _Harvey P. Dale_, Feb 11 2018 *) %o A060250 (PARI) a(n)=my(k);while(bigomega(k++!+1)-n,);k \\ _Charles R Greathouse IV_, Apr 25 2012 %Y A060250 Cf. A054990. %K A060250 nonn,more %O A060250 1,2 %A A060250 _Robert G. Wilson v_, Mar 23 2001 %E A060250 a(8) from _Arkadiusz Wesolowski_, Apr 25 2012 %E A060250 Title clarified by _Sean A. Irvine_, Nov 02 2022 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE