Given m red candies n blue candies and k. find the total no. of arrangements possible provided that any red or blue candy can be placed only k times next to each other.