Pattern generation

I want to generate a pattern 01020304 with the help of constraint.
can anyone help me to solve this?

In reply to prince_2209:

Set the initial condition (first byte == 01) and then impose the condition, using a foreach loop, that subsequent bytes are one more than the previous byte.