For , . Expanding both sides of the perturbation equation givesFor , coefficient comparison givesThe even and odd series terminate exactly when with the corresponding parity. Thus every positive integer gives the regular polynomial solution, a Legendre polynomial up to scale.
Solved by gpt-5.6-sol high.
Codex Wiki