Generate the terms first, then test the candidates against them.
a1=2,a2=5,a3=8,a4=11
The rule an=3n−1 gives 2,5,8,11, so it matches. It also obeys the same step rule, since (3n−1)−(3(n−1)−1)=3, and it starts at the same seed, so the two definitions agree at every index. The rule 3n+2 starts at 5, the rule 2n+1 starts at 3, and 3n starts at 3.