I assume that the numbers being shown above are the series index? If so, you are looking for a way to change a series index into some hierarchy?
There is no automatic way to do the arithmetic necessary to convert a series index of (say) 147 into the string 0101-0200/0140-0149. That said, you can do it manually on a book by book basis. Create two text custom columns, one for the first level of the index (lets call this #index1) and one for the second (lets call this #index2). Put the index-level folder names you want into them. For example, for book 147, you would put 0101-0200 into #index1, and 0140-0149 into #index2.
You don't say where the genre comes from. I will assume you have a custom column called #genre. (You could use tags, of course.)
Given the above, you would use a save template that would look something like
for a description of the template language.