The first 3 or 4 digits are your school's code, I think it stays the same every year...
so everyone doing the HSC this year, from your school will have the same digits.
Also student number is available at the bottom of your SC report, the sheet with your results on it.