I invented this algoritm a while back. It allows you to perform arithmetic operations ( add, subtract) on any hierarchical address scheme.
IP example: 220.127.116.11 + 257 = 18.104.22.168
Generic example: For a scheme: a[1-2]/b[3-4]/c[5-6]: a1/b3/c6 + 3 = a2/b3/c5
A hierarchical address (HA) or multi-level address is a logical address divided into levels in left to right order of significance. IP address 22.214.171.124 and Termination ID tdm/3/28/24 (RFC 3525) are examples of hierarchical address.
Hierarchical Address can also be in binary form by using hierarchical address table to define level/significance.