sentence1: The Gegenbauer - polynomials appear as extensions of legend - polynomials in the context of potential theory and harmonic analysis .
sentence2: The Gegenbauer polynomials appear naturally as extensions of Legendre polynomials in the context of harmonic theory and potential analysis .