This app generates the code for Template:Pagesize table on the English Wikipedia.
Enter the number of entries, press the button, and copy the result into the template.