{"id":"n-dbf182f3ecfeda2a","revision":1,"first_index":0,"fingerprint":"f6-3d213e09756fa2d2","name":"Triangle of coefficients of cos(x)^n in polynomial for cos(nx).","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"irregular","degree_slope":null,"degree_intercept":null,"palindromic":0,"gamma_positive":0,"nonnegative":0,"rr_by_factors":false,"rows":[["1"],["1"],["2","0","-1"],["4","0","-3"],["8","0","-8","0","1"],["16","0","-20","0","5"],["32","0","-48","0","18","0","-1"],["64","0","-112","0","56","0","-7"],["128","0","-256","0","160","0","-32","0","1"],["256","0","-576","0","432","0","-120","0","9"],["512","0","-1280","0","1120","0","-400","0","50","0","-1"],["1024","0","-2816","0","2816","0","-1232","0","220","0","-11"],["2048","0","-6144","0","6912","0","-3584","0","840","0","-72","0","1"],["4096","0","-13312","0","16640","0","-9984","0","2912","0","-364","0","13"],["8192","0","-28672","0","39424","0","-26880","0","9408","0","-1568","0","98","0","-1"]],"degrees":[0,0,2,2,4,4,6,6,8,8,10,10,12,12,14],"row_sums":["1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"],"nonn":false,"definitions":[{"position":0,"source":"oeis_catalog:A039991","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","0","-1"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":158700,"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-9aecc6cc430e81f1"]}],"region_exact":{},"incoming_edges":[{"id":"e-9aecc6cc430e81f1","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-dbf182f3ecfeda2a","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":"b581439c2359e4fd54c55436ebbe863d7f48a3f8bf3ec10f9784714bf7bc7c9c","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{}}],"premises":[]}],"used_by":[{"id":"e-2abd4179002ed34f","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-e0e035772684cc42","conclusion_name":"shift_x_plus_one of Triangle of coefficients of cos(x)^n in polynomial for cos(nx)."},{"id":"e-6f899a70e4c27d14","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-02ad05e8959bc17f","conclusion_name":"derivative of Triangle of coefficients of cos(x)^n in polynomial for cos(nx)."},{"id":"e-77a19b2535dc4780","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-0b1520d85356534b","conclusion_name":"one_plus_derivative of Triangle of coefficients of cos(x)^n in polynomial for cos(nx)."}],"used_by_total":3,"links":[{"id":"l-73e1e1f571c68a55","kind":"fingerprint_related","node_a_id":"n-9ae8d431f7b33f22","node_b_id":"n-dbf182f3ecfeda2a","fingerprint":"f6-3d213e09756fa2d2","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-3d213e09756fa2d2"},"other_id":"n-9ae8d431f7b33f22","other":{"id":"n-9ae8d431f7b33f22","name":"chebyshev_t","first_index":0,"fingerprint":"f6-3d213e09756fa2d2","polytool_family":"chebyshev_t","degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":0,"rr_by_factors":0,"preview_rows":[["1"],["0","1"],["-1","0","2"]],"card_rows":[["1"],["0","1"],["-1","0","2"],["0","-3","0","4"]],"row_sums_preview":["1","1","1","1","1","1","1","1"],"regions":["(-inf, +inf)","(-1, 1)"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-9ae8d431f7b33f22","steps":[],"edges":[],"text":"chebyshev_t"},"headline":"chebyshev_t","chain":null}}],"oeis":[{"oeis_id":"A039991","relation":"identification"}],"bfiles":[],"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:   1;\n  2:   2, 0,   -1;\n  3:   4, 0,   -3;\n  4:   8, 0,   -8, 0,   1;\n  5:  16, 0,  -20, 0,   5;\n  6:  32, 0,  -48, 0,  18, 0,   -1;\n  7:  64, 0, -112, 0,  56, 0,   -7;\n  8: 128, 0, -256, 0, 160, 0,  -32, 0, 1;\n  9: 256, 0, -576, 0, 432, 0, -120, 0, 9;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 2*P(n-1,x) - x^2*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1;\nP[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - x^2*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] = 1; for(n = 2, N, my(i = n + 1); v[i] = 2*v[i - 1] - x^2*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}}],"derivation":{"root":"n-dbf182f3ecfeda2a","steps":[],"edges":[],"text":"A039991"},"headline":"A039991: Triangle of coefficients of cos(x)^n in polynomial for cos(nx).","chain":null}
