Find \(a\) if \(a\) and \(b\) are integers such that \(x^2 - x - 1\) is a factor of \(ax^{17} + bx^{16} + 1\).

(第六届AIME1988 第13题)