A frog jumps over the vertices of the triangle ABC, moving each time to one of the neighbouring vertices.
How many ways can it get from A to A in n jumps?