A Lightroom serial number is obtained when you purchase the software either direct from Adobe or from a third party supplier. At the moment Adobe is only selling the current version which is LR 6.
You can search online to see where version 4 is available. Amazon in the US still has it available Amazon.com: Lightroom 4
The following link will provide some info on the various ways serial numbers are distributed. Find your serial number quickly