OFFSET
1,1
EXAMPLE
39962281 = 11! + 8! + 7! + 5!+ 1! = 4861*8221.
MATHEMATICA
brillQ[n_] := Block[{d = FactorInteger[n]}, Plus@@Last/@d==2 && (Last/@d=={2} || Length@IntegerDigits@((First/@d)[[1]])==Length@IntegerDigits@((First/@d)[[2]]))]; fac=Range[20]!; lst={}; Do[ n = Plus@@(fac*IntegerDigits[k, 2, 20]); If[brillQ[n], AppendTo[lst, n]], {k, 2^20-1}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Jan 27 2006
STATUS
approved