The explanation of my task is relatively simple
But I do not know how to do it
Numbers 1 through 9 are displayed randomly and Sequential (Each time one number is displayed)
The purpose is to detect a multi-digit sequence of numbers ( for example 3.5.2 )
And whenever the subject sees the target sequence, he/she must answer (For example, press the space bar)
I know how to display numbers, but I do not know how to define the sequence of numbers as the correct answer.
Another problem is that The frequency of the target sequence display should be specified (For example, every 30 times the numbers are displayed, 5 times the target sequence will be displayed)