AugustGraham
New Member
- Joined
- Jul 13, 2011
- Messages
- 5
Hello,
I'm currently faced with a problem I simply cannot solve. I have a list of data with numbers between 1 and 3 which looks something like this: {3,2,2,3,1,1,2,3,1,3,2,1,2,3,1,2,3,1,2,2,3,1,3,2,3,1,2,2,3,1,3,2,1,3,1} (but hundreds more numbers).
Anyway, what I want to do is count how many 3's are followed by 2's (4 in the example given above).
If anyone could help I'd be most grateful.
Thanks in advance.
I'm currently faced with a problem I simply cannot solve. I have a list of data with numbers between 1 and 3 which looks something like this: {3,2,2,3,1,1,2,3,1,3,2,1,2,3,1,2,3,1,2,2,3,1,3,2,3,1,2,2,3,1,3,2,1,3,1} (but hundreds more numbers).
Anyway, what I want to do is count how many 3's are followed by 2's (4 in the example given above).
If anyone could help I'd be most grateful.
Thanks in advance.