Number of five-digit numbers formed using the digits 0,2,3,4,7,9 with 2 at the first place is
=6×6×6×6=1296
Since, 26+6+6+6+=1296
Number of five-digit numbers formed using the given digits with 3 at the first place is
=1296
Since, 36+6+6+6+=1296
Number of five-digit numbers formed using the given digits with 40 at the first place is
=216
Since, 406+6+6+=216
And,
4206+6+=36
4226+6+=36
4236+6+=36
4246+6+=36
4276+6+=36
42906+=6
42920=1
42922=1
42923=1
Required serial number is
=1296×2+216+5×36+6+1+1+1=2997