You have to take the first 3 digits of the DEC number and convert that to HEX. The remaining digits are also then converted to HEX and the two results 'pasted' together.
so for 123456789....
123 converts to '7B'
456789 converts to '6F855'
the 'answer' then becomes 7B6F855
The key is the...