Cody

Problem 1474. Chebyshev polynomials of the 1st Kind

Given an integer n ≥ 0, generate the n-th Chebyshev polynomial of the 1st Kind.

Examples:

 chebyshev1stKindPoly(0)
 ans =
     1
 chebyshev1stKindPoly(1)
 ans =
     1     0
 chebyshev1stKindPoly(2)
 ans =
     2     0    -1

Neither string operations nor interpolations are allowed!

Solution Stats

74.55% Correct | 25.45% Incorrect
Last solution submitted on Jun 06, 2019

Solution Comments

Recent Solvers39

Suggested Problems

More from this Author18

Tags