A note on the equation $ax^n - by^n = c$