Since a is an even positive integer, it follows that A is odd. Therefore A will be a perfect square of an odd integer, that is
A=(2κ+1)2=4κ2+4κ+1=4κ(κ+1)+1,
where κ is a positive integer. Since one of the two integers κ and κ+1 is even, we have
A⇒A−1⇒8∣a(an−1+⋯+a+1)⇒8∣a, since (8,an−1+⋯+a+1)=1.=4κ(κ+1)+1=8ρ+1, where ρ is a positive integer=an+an−1+⋯+a=8ρ⇒a(an−1+⋯+a+1)=8ρ