The pattern is that if you take a perfect number and place 5 at its unit digit. Then you have to square that number after squaring it the digits of the obtained number can be rearranged into two or more squares.
For example : 6 is the first perfect number. Putting 5 at the end gives us 65
Then. $65^2 = 4225$
Which can be represented as 4 = $2^2$ and 225 = $15^2$ I cross checked this result till fifth perfect number. But I want to prove this and but I can't .