I am learning pattern matching. An example that confuse me is as follows.
Foo[x__?EvenQ] := x^2; Foo[2, 4]
which is equal to
Sequence[2,4]^2 which in turns equal to
What does it mean? Why is it
65536? I really don't understand what kind of algorithm is applied here.