Six divided by the difference of a number and 1​, minus 5 divided by a number plus 1​, equals 5 times the reciprocal of the difference of the number squared and 1. What is the​ number?