OFFSET
1,1
COMMENTS
a(106) >= 139. - Sean A. Irvine, Oct 29 2019
a(n) = 1 iff n in A078778.
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..105 (a(100) and a(104) from Sean A. Irvine)
Dario Alejandro Alpern, Factorization using the Elliptic Curve Method
factordb, Status of 106!+139.
Hisanori Mishima, Factorization of n! + 1 (n = 1 to 100)
MATHEMATICA
Table[SelectFirst[Range@ 1000, PrimeOmega[n! + #] == 2 &], {n, 40}] (* Michael De Vlieger, Mar 08 2016, Version 10 *)
PROG
(PARI) a(n) = {k = 1; while (bigomega(n!+k) != 2, k++); k; } \\ Michel Marcus, Mar 08 2016
(Magma) m:=1; sol:=[]; for n in [1..40] do k:=1; while &+[d[2]: d in Factorization(Factorial(n)+k)] ne 2 do k:=k+1; end while; sol[m]:=k; m:=m+1; end for; sol; // Marius A. Burtea, Aug 24 2019
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Jason Earls, Jul 21 2003
EXTENSIONS
Extended by Robert G. Wilson v, Jul 27 2003
a(55) from Ray Chandler, Nov 09 2003
a(56)-a(80) from Sean A. Irvine, Mar 29 2010
STATUS
approved