A160375 Given n, let S denote the set of numbers c_1*c_2*...*c_n where 1<=c_1<=c_2<=...<=c_n<=n; a(n) = number of members of S that have a unique representation of this form.
1, 3, 10, 16, 61, 81, 337, 477, 601, 901, 4291, 5798, 27314, 33671, 45732, 59397, 299745, 421363, 2090647, 2739022, 4597263, 5401826, 27510715, 23666955
Offset: 1
Examples
a(3) = 10 because there are 10 numbers that can be written as such a product in exactly one way: 1*1*1 = 1 1*1*2 = 2 1*1*3 = 3 1*2*2 = 4 1*2*3 = 6 2*2*2 = 8 1*3*3 = 9 2*2*3 = 12 2*3*3 = 18 3*3*3 = 27 There are 25 possible products of the numbers 1,2,3,4 (see A110713), but 9 of those products can be attained in multiple ways (e.g., 1*2*2*4 = 1*1*4*4), so a(4) = 25-9 = 16.
Links
- David A. Corneth, PARI program
- Gerhard Kirchner, Theory and algorithm
Programs
-
Mathematica
Table[Count[Split@ Sort@ Map[Times @@ # &, Union@ Map[Sort, Tuples[Range@ n, n]]], w_ /; Length@ w == 1], {n, 8}] (* Michael De Vlieger, Sep 26 2016 *)
Extensions
a(7)-a(13) from Nathaniel Johnston, Nov 29 2010
a(14)-a(24) from Gerhard Kirchner, Aug 30 2016
Definition edited by N. J. A. Sloane, Sep 27 2016
Comments