Problem 61006. Shapiro Polynomials

Given an order n, return the coefficients of 1st Shapiro polynomials Pn(x) -
%Example
P1(x) = x + 1 => Output = [1 1];
P3(x) = x^7 - x^6 + x^5 + x^4 - x^3 + x^2 + x + 1 => Output = [1 -1 1 1 -1 1 1 1];

Solution Stats

50.0% Correct | 50.0% Incorrect
Last Solution submitted on Sep 19, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers2

Suggested Problems

More from this Author39

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!