Constraint randomization of an array

In reply to dave_59:

Only when I make vf[i] inside {[1:14]}; (2048/248 = 14) that I get what I want. The sum of vf[i] = 2048.

But I want values to exceed 14 in the array up to 2048, having the possibility of having only one index = 2048 and the other vf[i] =0.