OFFSET
1,1
COMMENTS
A property of this sequence: the arithmetic mean (1/x) *Sum_{k = 1..x} a(k) is very slowly decreasing when x increases. For example, s(100) = 22.5; s(1000) = 21.351; s(10000) = 20.2082; s(100000) = 19.24615.
For almost all n, a(n) = 0. [Charles R Greathouse IV, Jan 17 2012]
EXAMPLE
a(2) = 17 because 2*17! = 711374856192000 contains every digit at least once.
MAPLE
a:={0, 1, 2, 3, 4, 5, 6, 7, 8, 9}: for n from 1 to 100 do:ii:=0:for k from 1 to 50000 while(ii=0) do: x:=convert(convert(n*k!, base, 10), set):if x intersect a = a then ii:=1: printf(`%d, `, k):else fi:od:od:
MATHEMATICA
Table[k=1; While[!Length[Union[IntegerDigits[n*k!]]] == 10, k++]; k, {n, 60}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Jan 17 2012
STATUS
approved