As @Emma already mentioned you will need some type of JavaScript code on the client to check the user input. Usually I would go for jquery to simplify things a bit but it depends on your preference, i. e. which library or framework you want to work with.
Below is a very short example (MVP) in plain JavaScript, showing a possible approach for doing this kind of input check:
var num=document.getElementsByClassName('sequence');
for (var i=num.length;i--;) num[i].addEventListener('change',function(ev){
for (var i=num.length;i--;) {
if (ev.target!==num[i] && ev.target.value==num[i].value)
console.log("illegal repetition of "+ev.target.value);
}
})
<input type="number" name="num[]" class="sequence" value="1"/>
<input type="number" name="num[]" class="sequence" value="2"/>
<input type="number" name="num[]" class="sequence" value="3"/>
<input type="number" name="num[]" class="sequence" value="4"/>