For storing multiples .
let mu = new Array ( MAX ) ; for ( let i = 0 ; i < MAX ; i ++ ) { dp [ i ] = new Array ( MAX ) ; for ( let j = 0 ; j < MAX ; j ++ ) { dp [ i ] [ j ] = 0 ; } } for ( let i = 0 ; i < MAX ; i ++ ) { di [ i ] = [ ] ; mu [ i ] = [ ] ; }