The documentation shows it is just a modulus operation. If you partition on object_key % 3 then you will create three partitions for remainder values 0-2 for instance.
Afaik, hash partition doesn't have real world expected use cases just yet. List or range is probably what you want to use.