I was reading this gist and am not sure I am understanding/reading the hex of the multisig's redeem script correctly (line 14). It is:
So I see the three public key pairs, beginning in bold text. I understand that the last byte (0xae) is OP_CHECKMULTISIG. But I am confused about the bytes (0x53, before 0xae) and the 5241 at the beginning. I am under the impression that before the public keys there should be two variables pushed onto the stack; one because of the checkmultisig bug and another to identify the m of n required signatures to unlock the bitcoin. And then n should come right before the last opcode (3 in this case).
What am I not understanding correctly? What's up with those fives and the 41 at the beginning? Thanks for the help!
Link to gist if broken: https://gist.github.com/gavinandresen/3966071