### jquery datatable get selected row data on button click

**Programming**approach. The condition of the problem is that for a given

**subset**, every pair of elements should be such that the smaller number divides the larger number exactly. In this case, the pair (9, 15) does not satisfy the condition as 15 % 9 != 0. The

**largest subset**satisfying this condition is 1, 3, 9, 27.