{"id":"n-ef9f4d5289b8feff","revision":1,"first_index":0,"fingerprint":"f6-def41fdfbf381d0a","name":"chebyshev_u","polytool_family":"chebyshev_u","interpretation":null,"rows_observed":15,"degree_pattern":"affine","degree_slope":1,"degree_intercept":0,"palindromic":0,"gamma_positive":0,"nonnegative":0,"rr_by_factors":false,"rows":[["1"],["0","2"],["-1","0","4"],["0","-4","0","8"],["1","0","-12","0","16"],["0","6","0","-32","0","32"],["-1","0","24","0","-80","0","64"],["0","-8","0","80","0","-192","0","128"],["1","0","-40","0","240","0","-448","0","256"],["0","10","0","-160","0","672","0","-1024","0","512"],["-1","0","60","0","-560","0","1792","0","-2304","0","1024"],["0","-12","0","280","0","-1792","0","4608","0","-5120","0","2048"],["1","0","-84","0","1120","0","-5376","0","11520","0","-11264","0","4096"],["0","14","0","-448","0","4032","0","-15360","0","28160","0","-24576","0","8192"],["-1","0","112","0","-2016","0","13440","0","-42240","0","67584","0","-53248","0","16384"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15"],"nonn":false,"definitions":[{"position":0,"source":"named_family:chebyshev_u","source_kind":"named_family","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["0","2"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["0","2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["-1"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":158198,"position":0,"claim":"real_rooted","from_index":0,"region_key":"(-inf, +inf)","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{}},"label":"Real-rooted","description":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, +inf)","region_exact":null,"edges":["e-a7b3a0c81265a049"]},{"id":158199,"position":1,"claim":"interlacing","from_index":1,"region_key":null,"provenance":"edges","claim_data":{"claim":"interlacing","from_index":1,"kind":"strict","orientation":"previous_interlaces_next"},"label":"Interlacing of consecutive rows","description":"Rows P_(m-1), P_m interlace (strict, previous interlaces next) for every m >= 1","region_exact":null,"edges":["e-8ab839cedecfc233","e-a7b3a0c81265a049"]},{"id":158200,"position":2,"claim":"real_rooted","from_index":0,"region_key":"(-1, 1)","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{"lower":{"closed":false,"value":"-1"},"upper":{"closed":false,"value":"1"}}},"label":"Real-rooted","description":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-1, 1)","region_exact":null,"edges":["e-8ab839cedecfc233"]},{"id":158201,"position":3,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1, 1]","output_interval":"(-inf, +inf)","statement":"every real polynomial with all roots in E = [-1, 1] has a real-rooted image"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1, 1] to roots in (-inf, +inf): every real polynomial with all roots in E = [-1, 1] has a real-rooted image","region_exact":null,"edges":["e-746f53f9cf6088dd"]},{"id":158202,"position":4,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1, 1]","output_interval":"[-1, 1]","statement":"every real polynomial with all roots in E = [-1, 1] has an image with all roots in I = [-1, 1]"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1, 1] to roots in [-1, 1]: every real polynomial with all roots in E = [-1, 1] has an image with all roots in I = [-1, 1]","region_exact":null,"edges":["e-746f53f9cf6088dd"]}],"region_exact":{},"incoming_edges":[{"id":"e-746f53f9cf6088dd","operation":{"operation":"basis_map_theorem"},"operation_detail":null,"conclusion_id":"n-ef9f4d5289b8feff","premise_count":0,"theorem":"affine current multiplier with an affine initial row (module documentation, \"The affine-current theorem\"): with beta = b/d, K = beta^2 + a beta - c > 0 and eta = m/d >= 0, every real polynomial with all roots in E = [-beta - sqrt(K), -beta + sqrt(K)] has a real-rooted image, and no interval of positive length outside E works (Theorem 1); for eta > 0 the images lie in I = [(-a - 2 beta - 2 sqrt(K))/d, (-a - 2 beta + 2 sqrt(K))/d] if and only if eta >= 1/2 and (s - (2 eta - 1) beta)^2 <= (2 eta - 1)^2 K, s = l - eta a (Theorem 2); with a >= 0, K >= beta^2, a + 2 beta >= 0, a^2 + 4c >= 0, l >= 0 and the scalar criterion, PF inputs with roots in [-R, 0], R = beta + sqrt(K), have PF images, sharply (the common-interlacer proof; the Chebyshev case is Iserles and Saff, Math. Proc. Cambridge Philos. Soc. 105 (1989), Theorem 1; the scalar criterion is RealRooted orderTwoConstants_nonneg_iff)","lean_route":null,"lean_declarations":[],"certificate_hash":"91b0e03097ef87bc539ef6dfe70a7704dbcb7745fc7e0d4d42cf718b0060029d","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"basis_map_preserver","input_interval":"[-1, 1]","output_interval":"(-inf, +inf)","statement":"every real polynomial with all roots in E = [-1, 1] has a real-rooted image"},{"claim":"basis_map_preserver","input_interval":"[-1, 1]","output_interval":"[-1, 1]","statement":"every real polynomial with all roots in E = [-1, 1] has an image with all roots in I = [-1, 1]"}],"premises":[]},{"id":"e-8ab839cedecfc233","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-ef9f4d5289b8feff","premise_count":0,"theorem":"three-term recurrence Q_n = (a_n y + b_n) Q_(n-1) - c_n Q_(n-2) with a_n != 0 and beta_n = c_n / (a_n a_(n-1)) > 0: simple real roots and strict interlacing of consecutive rows (zero separation for orthogonal polynomials: G. Szeg\u0151, Orthogonal Polynomials, \u00a73.3; Favard, C. R. Acad. Sci. Paris 200 (1935)); root regions by a positive-ratio (chain-sequence) induction","lean_route":null,"lean_declarations":[],"certificate_hash":"d25e3ff8320d197fabe1bff8d965a1273913be8ce720631432a4c54996266ecf","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"lower":{"closed":false,"value":"-1"},"upper":{"closed":false,"value":"1"}}},{"claim":"interlacing","from_index":1,"kind":"strict","orientation":"previous_interlaces_next"}],"premises":[]},{"id":"e-a7b3a0c81265a049","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-ef9f4d5289b8feff","premise_count":0,"theorem":"three-term recurrence Q_n = (a_n y + b_n) Q_(n-1) - c_n Q_(n-2) with a_n != 0 and beta_n = c_n / (a_n a_(n-1)) > 0: simple real roots and strict interlacing of consecutive rows (zero separation for orthogonal polynomials: G. Szeg\u0151, Orthogonal Polynomials, \u00a73.3; Favard, C. R. Acad. Sci. Paris 200 (1935)); root regions by a positive-ratio (chain-sequence) induction","lean_route":null,"lean_declarations":[],"certificate_hash":"ff01a9982d0914e37ec05c34f51010aa153ac165a0e5fec12c9ca32d055631ea","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{}},{"claim":"interlacing","from_index":1,"kind":"strict","orientation":"previous_interlaces_next"}],"premises":[]}],"used_by":[{"id":"e-4219cb192b8f36cb","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-ef2c6ad9cc5d2710","conclusion_name":"one_plus_derivative of chebyshev_u"},{"id":"e-bc07b513df8cc1f5","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-73147f660e12d671","conclusion_name":"derivative of chebyshev_u"},{"id":"e-d847ca7730038c3c","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-a2f149315d09c809","conclusion_name":"shift_x_plus_one of chebyshev_u"}],"used_by_total":3,"links":[{"id":"l-4c80fc57f97ffa8d","kind":"fingerprint_related","node_a_id":"n-ef9f4d5289b8feff","node_b_id":"n-02ad05e8959bc17f","fingerprint":"f6-def41fdfbf381d0a","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-def41fdfbf381d0a"},"other_id":"n-02ad05e8959bc17f","other":{"id":"n-02ad05e8959bc17f","name":"derivative of Triangle of coefficients of cos(x)^n in polynomial for cos(nx).","first_index":0,"fingerprint":"f6-def41fdfbf381d0a","polytool_family":null,"degree_pattern":"irregular","palindromic":0,"gamma_positive":0,"nonnegative":0,"rr_by_factors":0,"preview_rows":[[],[],["0","-2"]],"card_rows":[["0","-2"],["0","-6"],["0","-16","0","4"],["0","-40","0","20"]],"row_sums_preview":["0","0","-2","-6","-12","-20","-30","-42"],"regions":["(-inf, +inf)"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-dbf182f3ecfeda2a","steps":["D"],"edges":["e-6f899a70e4c27d14"],"text":"A039991 \u2192 D"},"headline":"A039991 \u2192 D","chain":null}},{"id":"l-bec05951f2c3bc96","kind":"fingerprint_related","node_a_id":"n-ef9f4d5289b8feff","node_b_id":"n-6ee7e6c62309a510","fingerprint":"f6-def41fdfbf381d0a","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-def41fdfbf381d0a"},"other_id":"n-6ee7e6c62309a510","other":{"id":"n-6ee7e6c62309a510","name":"derivative of chebyshev_t","first_index":0,"fingerprint":"f6-def41fdfbf381d0a","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":0,"rr_by_factors":0,"preview_rows":[[],["1"],["0","4"]],"card_rows":[["1"],["0","4"],["-3","0","12"],["0","-16","0","32"]],"row_sums_preview":["0","1","4","9","16","25","36","49"],"regions":["(-inf, +inf)"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-9ae8d431f7b33f22","steps":["D"],"edges":["e-c1cd3b615621d834"],"text":"chebyshev_t \u2192 D"},"headline":"chebyshev_t \u2192 D","chain":null}},{"id":"l-cdbe3d4d8ac3c861","kind":"fingerprint_related","node_a_id":"n-ef9f4d5289b8feff","node_b_id":"n-a2d7d802498a9d22","fingerprint":"f6-def41fdfbf381d0a","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-def41fdfbf381d0a"},"other_id":"n-a2d7d802498a9d22","other":{"id":"n-a2d7d802498a9d22","name":"Triangle read by rows of coefficients of Chebyshev's U(n,x) polynomials (exponents in increasing order).","first_index":1,"fingerprint":"f6-def41fdfbf381d0a","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":0,"rr_by_factors":0,"preview_rows":[["1"],["0","2"],["-1","0","4"]],"card_rows":[["1"],["0","2"],["-1","0","4"],["0","-4","0","8"]],"row_sums_preview":["1","2","3","4","5","6","7","8"],"regions":["(-inf, +inf)","(-1, 1)"],"region_exact":{},"oeis_ids":["A053117"],"derivation":{"root":"n-a2d7d802498a9d22","steps":[],"edges":[],"text":"A053117"},"headline":"A053117: Triangle read by rows of coefficients of Chebyshev's U(n,x) polynomials (exponents in increasing order).","chain":null}},{"id":"l-0a9fda9bd78c3cdc","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A053118","in_catalog":0,"target":"reversed_triangle","row_alignment":"tabl","rows_matched":12,"oeis_nonn":0,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":12,"target":"reversed_triangle","terms_compared":85},"in_catalog":false,"oeis_id":"A053118","oeis_nonn":false},"other_id":null,"other":null},{"id":"l-111285c8260cea6e","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A002837","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":1,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A002837","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-41421bbebaa95f90","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A004438","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A004438","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-5896d3946aee20ac","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A001477","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":1,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A001477","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-5b38fdda75d16e9e","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A002377","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A002377","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-63a591d31a1b8ac7","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A004830","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":1,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A004830","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-8a8a9399b2cd37e0","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A005496","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A005496","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-c9c7128cf6e64db0","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A000027","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A000027","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-e81600d9f1d2fa98","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A004441","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A004441","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-ff3a7664d7be2da7","kind":"oeis_match","node_a_id":"n-ef9f4d5289b8feff","node_b_id":null,"fingerprint":null,"oeis_id":"A053117","in_catalog":1,"target":"triangle","row_alignment":"tabl","rows_matched":13,"oeis_nonn":0,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":13,"target":"triangle","terms_compared":91},"in_catalog":true,"oeis_id":"A053117","oeis_nonn":false},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A053118","relation":"match_reversed_triangle"},{"oeis_id":"A000027","relation":"match_row_sums"},{"oeis_id":"A001477","relation":"match_row_sums"},{"oeis_id":"A002377","relation":"match_row_sums"},{"oeis_id":"A002837","relation":"match_row_sums"},{"oeis_id":"A004438","relation":"match_row_sums"},{"oeis_id":"A004441","relation":"match_row_sums"},{"oeis_id":"A004830","relation":"match_row_sums"},{"oeis_id":"A005496","relation":"match_row_sums"},{"oeis_id":"A053117","relation":"match_triangle"}],"bfiles":[{"node_id":"n-ef9f4d5289b8feff","oeis_id":"A000027","target":"row_sums","oeis_offset":1,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":77,"oeis_terms_available":77,"term_count":200,"raw_size":1384},{"node_id":"n-ef9f4d5289b8feff","oeis_id":"A053117","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":91,"oeis_terms_agreeing":91,"oeis_terms_available":91,"term_count":990,"raw_size":9808},{"node_id":"n-ef9f4d5289b8feff","oeis_id":"A053118","target":"reversed_triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":85,"oeis_terms_agreeing":85,"oeis_terms_available":85,"term_count":990,"raw_size":9808}],"oeis_texts":[{"oeis_id":"","target":"node","first_row":0,"oeis_offset":0,"reversed":false,"trim_zeros":"none","regular_triangle":false,"rows_shown":10,"polytool_commit":"c48629374597092cc41ef4d6273f37991516f984","triangle_example":"Triangle begins:\n  0:  1;\n  1:  0,  2;\n  2: -1,  0,   4;\n  3:  0, -4,   0,    8;\n  4:  1,  0, -12,    0,  16;\n  5:  0,  6,   0,  -32,   0,   32;\n  6: -1,  0,  24,    0, -80,    0,   64;\n  7:  0, -8,   0,   80,   0, -192,    0,   128;\n  8:  1,  0, -40,    0, 240,    0, -448,     0, 256;\n  9:  0, 10,   0, -160,   0,  672,    0, -1024,   0, 512;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 2*x*P(n-1,x) - P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2*x;\nP[n_, x_] := P[n, x] = Expand[2*x*P[n - 1, x] - P[n - 2, x]];\nTable[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2*x; for(n = 2, N, my(i = n + 1); v[i] = 2*x*v[i - 1] - v[i - 2]); v};\nrow(n, p) = {my(c = Vecrev(p)); c};\nT(N) = {my(v = P(N)); concat(vector(#v, i, row(i - 1, v[i])))};\nT(9)","reading":{"first_row":0,"offset":0,"reversed":false,"trim_zeros":"none","regular_triangle":false}},{"oeis_id":"A053117","target":"triangle","first_row":0,"oeis_offset":0,"reversed":false,"trim_zeros":"none","regular_triangle":true,"rows_shown":10,"polytool_commit":"c48629374597092cc41ef4d6273f37991516f984","triangle_example":"Triangle begins:\n  0:  1;\n  1:  0,  2;\n  2: -1,  0,   4;\n  3:  0, -4,   0,    8;\n  4:  1,  0, -12,    0,  16;\n  5:  0,  6,   0,  -32,   0,   32;\n  6: -1,  0,  24,    0, -80,    0,   64;\n  7:  0, -8,   0,   80,   0, -192,    0,   128;\n  8:  1,  0, -40,    0, 240,    0, -448,     0, 256;\n  9:  0, 10,   0, -160,   0,  672,    0, -1024,   0, 512;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 2*x*P(n-1,x) - P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2*x;\nP[n_, x_] := P[n, x] = Expand[2*x*P[n - 1, x] - P[n - 2, x]];\nTable[PadRight[CoefficientList[P[n, x], x], n + 1], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2*x; for(n = 2, N, my(i = n + 1); v[i] = 2*x*v[i - 1] - v[i - 2]); v};\nrow(n, p) = {my(c = Vecrev(p)); c = concat(c, vector(n + 1 - #c)); c};\nT(N) = {my(v = P(N)); concat(vector(#v, i, row(i - 1, v[i])))};\nT(9)","reading":{"first_row":0,"offset":0,"reversed":false,"trim_zeros":"none","regular_triangle":true}},{"oeis_id":"A053118","target":"reversed_triangle","first_row":0,"oeis_offset":0,"reversed":true,"trim_zeros":"none","regular_triangle":true,"rows_shown":10,"polytool_commit":"c48629374597092cc41ef4d6273f37991516f984","triangle_example":"Triangle begins:\n  0:   1;\n  1:   2, 0;\n  2:   4, 0,    -1;\n  3:   8, 0,    -4, 0;\n  4:  16, 0,   -12, 0,   1;\n  5:  32, 0,   -32, 0,   6, 0;\n  6:  64, 0,   -80, 0,  24, 0,   -1;\n  7: 128, 0,  -192, 0,  80, 0,   -8, 0;\n  8: 256, 0,  -448, 0, 240, 0,  -40, 0,  1;\n  9: 512, 0, -1024, 0, 672, 0, -160, 0, 10, 0;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where P(n,x) = 2*x*P(n-1,x) - P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2*x;\nP[n_, x_] := P[n, x] = Expand[2*x*P[n - 1, x] - P[n - 2, x]];\nTable[Reverse[PadRight[CoefficientList[P[n, x], x], n + 1]], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2*x; for(n = 2, N, my(i = n + 1); v[i] = 2*x*v[i - 1] - v[i - 2]); v};\nrow(n, p) = {my(c = Vecrev(p)); c = concat(c, vector(n + 1 - #c)); c = Vecrev(c); c};\nT(N) = {my(v = P(N)); concat(vector(#v, i, row(i - 1, v[i])))};\nT(9)","reading":{"first_row":0,"offset":0,"reversed":true,"trim_zeros":"none","regular_triangle":true}}],"derivation":{"root":"n-ef9f4d5289b8feff","steps":[],"edges":[],"text":"chebyshev_u"},"headline":"chebyshev_u","chain":null}
