cms, for someone who claims to be a Maths teacher, you don't seem to be very good at it. It says the digits consist of only 3's and 7's. How does that not tell you that there are madatory 3's and 7's. Like the number 33 consists of 3's and 7's ? Huh?
I liked the puzzle. Well explained too!