Generate problem variations algorithmically.