LinkPager / Pagination - jump every 15

How to make the page numbers on pagination skip from X and X

Actual: | First | Previous | 24 | 25 | 26 | Next | Last |
Expected: | First | Previous | 10 | 25 | 40 | Next | Last |