Catch rate/Capture method (Generation VI)/Shake probability

Unlike Generation V, the shake probability in Generation VI is calculated as follows:

b = 65536 / (255/a)^0.1875