import numpy as np n = 3 p = 0.5 alpha = [p] + [(1.-p)/(n-1)]*(n-1) alpha = np.array(alpha) for c in [1_000, 5_000, 10_000]: print(alpha*c)