Designing specific cells according to the indices

We need a reproducible example (reprex)