Each number in the sequence is obtained by adding 5 on to the previous number. Since the sequence starts with 2 this means the numbers alternately end in 2 and 7. 271 doesn't end in 2 or 7 and hence is not included in the sequence.
Each number in the sequence is obtained by adding 5 on to the previous number. Since the sequence starts with 2 this means the numbers alternately end in 2 and 7. 271 doesn't end in 2 or 7 and hence is not included in the sequence.