...Check back with your textbook :P

The relation u have found for the A_n concerns only one of the two solutions. There is a specific formula for the other solution, if you are lucky it will be of the form , for suitable r. If not, there will be a logarithm involved (and that will require a lot of calculations).