> foreach (immutable t; 1 .. 51) > { > int temp = (((t * 20) + 420) * 5) + 3; > arr[t - 1] = temp - a; > temp = (((t * 5) + 50) * 20) + 1013; > arr[t] = temp - a; > } Good work with the parenthesis. :)