OFFSET
1,3
EXAMPLE
a(3) = (number of possible subsets of {1,2,3}) - |{1, 2, 3, 1*2, 1*3, 2*3, 1*2*3}| = 2^3-1 - |{1,2,3,6}| = 3. Equivalently, there are three repeating products (2, 3, and 6) so a(3) = 3.
MATHEMATICA
(* Script not convenient for n > 24 *) f[n_] := Block[{lst = Times @@@ Subsets[Range@ n, n]}, 2^n - 1 - Length@ Select[Tally@ lst, Last@ # > 1 &]]; Array[f, 16] (* Michael De Vlieger, Mar 13 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Mar 11 2015
STATUS
approved