public static int[] Convert(int n, int duplicate, int duplicates)
 {
     duplicate = Math.Max(1, Math.Min(n, duplicate));
     int[] arr = new int[n + 1];
     for (int i = 0; i < arr.Length - 1; i++)
     {
         arr[i] = i + 1;
     }
     arr[n] = duplicate;
     return(Helfer.ArrayShuffle(arr));
 }