{"id":"n-e0e035772684cc42","revision":1,"first_index":0,"fingerprint":"f6-06e89774407af090","name":"shift_x_plus_one of 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"],["1","-2","-1"],["1","-6","-3"],["1","-12","-2","4","1"],["1","-20","10","20","5"],["1","-30","45","52","3","-6","-1"],["1","-42","119","84","-49","-42","-7"],["1","-56","252","56","-250","-136","-4","8","1"],["1","-72","468","-168","-738","-216","132","72","9"],["1","-90","795","-840","-1590","148","790","280","5","-10","-1"],["1","-110","1265","-2376","-2574","2156","2618","440","-275","-110","-11"],["1","-132","1914","-5412","-2673","8184","5740","-1128","-1905","-500","-6","12","1"],["1","-156","2782","-10868","715","21736","7124","-10088","-7033","-780","494","156","13"],["1","-182","3913","-20020","13013","46046","-5187","-38712","-15645","3878","3899","812","7","-14","-1"]],"degrees":[0,0,2,2,4,4,6,6,8,8,10,10,12,12,14],"row_sums":["1","1","-2","-8","-8","16","64","64","-128","-512","-512","1024","4096","4096","-8192"],"nonn":false,"definitions":[{"position":0,"source":"derived:shift_x_plus_one","source_kind":"derived","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1"]],"recurrence":{"denominator":{"coeffs":[["-1"],["1"]]},"terms":[{"coeff":{"coeffs":[["-1","2","1"],["1","-2","-1"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","2","3","1"]]},"deriv_order":1,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":163323,"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-2abd4179002ed34f"]}],"region_exact":{},"incoming_edges":[{"id":"e-2abd4179002ed34f","operation":{"index_shift":0,"operation":"preserver_image","operator":"{\"shape\":\"affine\",\"slope\":\"1\",\"intercept\":\"1\"}"},"operation_detail":"affine, shift 0","conclusion_id":"n-e0e035772684cc42","premise_count":1,"theorem":"a real affine substitution x -> a x + b (a != 0), the reversal x^d p(1/x) (d >= deg p) and a real Mobius map (c x + e)^d p((a x + b)/(c x + e)) (a e - b c != 0, d >= deg p) map real roots to real roots: a root r of p gives the root (r - b)/a, 1/r (and 0) or (e r - b)/(a - c r) (and -e/c); for an input row that is a polynomial the degree condition holds automatically","lean_route":null,"lean_declarations":["Polynomial.Splits.comp_of_degree_le_one"],"certificate_hash":"d06bd6f1e12d56347919818fdf2ab0a2fbf76170fa4be74ccdd1a108c0f1ba1e","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{}}],"premises":[{"position":0,"node_id":"n-dbf182f3ecfeda2a","role":"sequence","name":"Triangle of coefficients of cos(x)^n in polynomial for cos(nx).","uses":{"claim":"real_rooted","from_index":0,"region":{}},"uses_text":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, +inf)"}]}],"used_by":[],"used_by_total":0,"links":[{"id":"l-40a44129c4f8beb3","kind":"oeis_match","node_a_id":"n-e0e035772684cc42","node_b_id":null,"fingerprint":null,"oeis_id":"A138230","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":0,"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":"A138230","oeis_nonn":false},"other_id":null,"other":null},{"id":"l-af611a334bfa2156","kind":"oeis_match","node_a_id":"n-e0e035772684cc42","node_b_id":null,"fingerprint":null,"oeis_id":"A128018","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":0,"details":{"alignment":{"first_row":1,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"target":"row_sums","terms_compared":14},"in_catalog":false,"oeis_id":"A128018","oeis_nonn":false},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A128018","relation":"match_row_sums"},{"oeis_id":"A138230","relation":"match_row_sums"}],"bfiles":[{"node_id":"n-e0e035772684cc42","oeis_id":"A128018","target":"row_sums","oeis_offset":0,"first_row":1,"rows_used":200,"terms_matched":14,"oeis_terms_agreeing":33,"oeis_terms_available":33,"term_count":200,"raw_size":7099},{"node_id":"n-e0e035772684cc42","oeis_id":"A138230","target":"row_sums","oeis_offset":0,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":34,"oeis_terms_available":34,"term_count":200,"raw_size":7039}],"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: 1,  -2,  -1;\n  3: 1,  -6,  -3;\n  4: 1, -12,  -2,    4,    1;\n  5: 1, -20,  10,   20,    5;\n  6: 1, -30,  45,   52,    3,   -6,  -1;\n  7: 1, -42, 119,   84,  -49,  -42,  -7;\n  8: 1, -56, 252,   56, -250, -136,  -4,  8, 1;\n  9: 1, -72, 468, -168, -738, -216, 132, 72, 9;\n","recurrence_sentence":"The row polynomials satisfy (n-1)*P(n,x) = (n-1-(2*n-2)*x-(n-1)*x^2)*P(n-1,x) + (2*x+3*x^2+x^3)*d/dx P(n-1,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[Together[((n - 1 - (2*n - 2)*x - (n - 1)*x^2)*P[n - 1, x] + (2*x + 3*x^2 + x^3)*D[P[n - 1, x], x])/(n - 1)]];\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] = ((n - 1 - (2*n - 2)*x - (n - 1)*x^2)*v[i - 1] + (2*x + 3*x^2 + x^3)*deriv(v[i - 1], x))/(n - 1)); 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":["x \u21a6 x+1"],"edges":["e-2abd4179002ed34f"],"text":"A039991 \u2192 x \u21a6 x+1"},"headline":"A039991 \u2192 x \u21a6 x+1","chain":null}
