this task exclusively concentrate array element equal 1 andor 2array kperiod length divisible k array b length k represent array b write exactly time consecutively in word array kperiodic period length kFor example array nperiodic n array length Array 212121 time 2periodic 6periodic array 121121121 time 3periodic 9periodicfor give array consist number find minimum number element change array kperiodic if array kperiodic require value equal 0