[go: up one dir, main page]

login
A060250
The smallest k such that k! + 1 has exactly n prime factors (with multiplicity).
1
1, 4, 9, 23, 16, 18, 40, 89
OFFSET
1,2
MATHEMATICA
With[{f=PrimeOmega[Range[90]!+1]}, Table[Position[f, _?(#==n&), 1, 1], {n, 8}]]//Flatten (* Harvey P. Dale, Feb 11 2018 *)
PROG
(PARI) a(n)=my(k); while(bigomega(k++!+1)-n, ); k \\ Charles R Greathouse IV, Apr 25 2012
CROSSREFS
Cf. A054990.
Sequence in context: A370021 A374055 A070713 * A138991 A361002 A138990
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Mar 23 2001
EXTENSIONS
a(8) from Arkadiusz Wesolowski, Apr 25 2012
Title clarified by Sean A. Irvine, Nov 02 2022
STATUS
approved