It took me a hot minute to understand what square packing really means (the Wiki is insightful) but TLDr: it's packing unit squares (1x1) into a larger, arbitrarily sized square. When the larger square has a side length that is not an integer, it becomes non-trivial to determine the most 1x1 squares that can be placed inside/packed.
It's the reverse order. First you pick how many unit squares you want to fit. Then you try to fit them in the smallest container square possible.
For example for 3 unit squares, the smallest size of the container square is 2x2. (But in a 2x2 container square you obviously can also put 4 unit squares.)
I think the only truly trivial ones are for n = k^2. Even the solutions that have integer side lengths but aren’t completely packed by unit squares seem difficult to prove that they are the optimal s(n). I don’t know much at all about the problem though, just seems like if there’s any space at all you might be able to rotate or whatever to squeeze out some space.