How to find the size of offset w an the maximum number of pages per segment?

I am learning about Operating Systems, but the topic of physical and logical address translating seems a bit complicated to me.

So I am asked to find the size of offset w and the maximum number of pages per each segment, while I know that:

  • The logical address size is 16 bits,
  • Page size is 256 words,
  • and the segment table contains 2^10 entries.