How many 5's are there in the given sequence which are neither immediately preceded by 1 nor immediately followed by 3?
1 3 5 5 3 1 4 8 3 6 7 7 1 5 3 1 5 3 8
1
0
2
2
3
3
4
1
How many 5's are there in the given sequence which are neither immediately preceded by 1 nor immediately followed by 3?
1 3 5 5 3 1 4 8 3 6 7 7 1 5 3 1 5 3 8