The set S := {0, 2, 4} is finite; its size is 3 because we can
define a function f: N3 ->bijectiveS as
f(0)
:=
0
f(1)
:=
2
f(2)
:=
4
i.e., f = [0, 2, 4]. The length of f is the same as the length of
[0, 4, 2], [4, 2, 0] or of any other bijection to S.
The set N is infinite. If it were finite, we had some n
in N and some f: Nn ->bijectiveN. Take
k := 1+max{f(i): i in Nn}.
Then k in N but forall i in Nn: f(i) != k, i.e., f is not
surjective on N.