{"id":"n-6120ac587df8130e","revision":0,"first_index":0,"fingerprint":"f6-d6c40c3a1672151f","name":"Triangle read by rows: T(n,k) is the number of ternary words of length n having k runs of consecutive 0's (0<=k<=ceiling(n/2)).","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"half_affine","degree_slope":1,"degree_intercept":1,"palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["2","1"],["4","5"],["8","17","2"],["16","49","16"],["32","129","78","4"],["64","321","300","44"],["128","769","1002","280","8"],["256","1793","3048","1352","112"],["512","4097","8678","5500","880","16"],["1024","9217","23524","19892","5120","272"],["2048","20481","61410","66032","24600","2544","32"],["4096","45057","155616","205360","103344","17328","640"],["8192","98305","384990","606836","392896","96096","6944","64"],["16384","212993","933852","1721020","1382720","460320","54208","1472"]],"degrees":[0,1,1,2,2,3,3,4,4,5,5,6,6,7,7],"row_sums":["1","3","9","27","81","243","729","2187","6561","19683","59049","177147","531441","1594323","4782969"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A119808","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["2","1"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["3"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["-2","2"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":169356,"position":0,"claim":"real_rooted","from_index":0,"region_key":"(-inf, 0)","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":false,"value":"0"}}},"label":"Real-rooted","description":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, 0)","region_exact":null,"edges":["e-783d9fe6617c7ff0"]},{"id":169357,"position":1,"claim":"one_signed_coefficients","from_index":0,"region_key":null,"provenance":"derived_from_edges","claim_data":{"alternating":false,"claim":"one_signed_coefficients","from_index":0},"label":"Coefficients of one sign","description":"Every nonzero row, n >= 0: the coefficients of P_n have one sign","region_exact":null,"edges":["e-783d9fe6617c7ff0"]},{"id":169358,"position":2,"claim":"hadamard_kernel","from_index":0,"region_key":null,"provenance":"derived_from_edges","claim_data":{"claim":"hadamard_kernel","from_index":0},"label":"Hadamard kernel (Malo)","description":"Rows P_n, n >= 0, are Hadamard kernels (preserve real-rootedness)","region_exact":null,"edges":["e-783d9fe6617c7ff0"]},{"id":169359,"position":3,"claim":"interlacing","from_index":1,"region_key":null,"provenance":"edges","claim_data":{"claim":"interlacing","from_index":1,"kind":"weak","orientation":"previous_interlaces_next"},"label":"Interlacing of consecutive rows","description":"Rows P_(m-1), P_m interlace (weak, previous interlaces next) for every m >= 1","region_exact":null,"edges":["e-783d9fe6617c7ff0"]}],"region_exact":{},"incoming_edges":[{"id":"e-783d9fe6617c7ff0","operation":{"operation":"theorem_check","theorem":"liu_wang_three_term"},"operation_detail":"liu_wang_three_term","conclusion_id":"n-6120ac587df8130e","premise_count":0,"theorem":"L. L. Liu and Y. Wang, Adv. Appl. Math. 38 (2007) 542-560, Theorem 2.1 and Corollary 2.4 (A unified approach to polynomial sequences with only real zeros; the lag row as the interlacer, b_n = 0), weak interlacing of consecutive rows, with nonnegativity of the coefficients replaced, where a root region is certified, by an exact root-location induction","lean_route":null,"lean_declarations":["RealRooted.MaWang.strictInterl_of_interlaces_evalCoeff_nonpos"],"certificate_hash":"64f627b778fbd656aaf8f72208796121eac134e005d558ceec8b22019ba4c7b2","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":false,"value":"0"}}},{"claim":"interlacing","from_index":1,"kind":"weak","orientation":"previous_interlaces_next"}],"premises":[]}],"used_by":[],"used_by_total":0,"links":[{"id":"l-0af37997cec27948","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A119808","in_catalog":1,"target":"triangle","row_alignment":"node_lengths","rows_matched":12,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"node_lengths","rows_matched":12,"target":"triangle","terms_compared":52},"in_catalog":true,"oeis_id":"A119808","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-3928b4f079e68c1d","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A354269","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":"A354269","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-645129b9b17e7d57","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A155734","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":"A155734","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-7332e7f9a388c1ed","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A000244","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":"A000244","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-8367fe2721990f20","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A140429","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":"A140429","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-be5d788273ddd3c7","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A027313","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":3,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":2,"target":"row_sums","terms_compared":12},"in_catalog":false,"oeis_id":"A027313","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-e0e6d46504446bb9","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A376478","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":1,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":2,"target":"row_sums","terms_compared":14},"in_catalog":false,"oeis_id":"A376478","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-e4450bc2094c7d6a","kind":"oeis_match","node_a_id":"n-6120ac587df8130e","node_b_id":null,"fingerprint":null,"oeis_id":"A133494","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":"A133494","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A119808","relation":"identification"},{"oeis_id":"A000244","relation":"match_row_sums"},{"oeis_id":"A027313","relation":"match_row_sums"},{"oeis_id":"A133494","relation":"match_row_sums"},{"oeis_id":"A140429","relation":"match_row_sums"},{"oeis_id":"A155734","relation":"match_row_sums"},{"oeis_id":"A354269","relation":"match_row_sums"},{"oeis_id":"A376478","relation":"match_row_sums"},{"oeis_id":"A119808","relation":"match_triangle"}],"bfiles":[{"node_id":"n-6120ac587df8130e","oeis_id":"A000244","target":"row_sums","oeis_offset":0,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":28,"oeis_terms_available":28,"term_count":200,"raw_size":10484},{"node_id":"n-6120ac587df8130e","oeis_id":"A119808","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":61,"terms_matched":52,"oeis_terms_agreeing":52,"oeis_terms_available":52,"term_count":991,"raw_size":20386}],"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:   2,    1;\n  2:   4,    5;\n  3:   8,   17,    2;\n  4:  16,   49,   16;\n  5:  32,  129,   78,    4;\n  6:  64,  321,  300,   44;\n  7: 128,  769, 1002,  280,   8;\n  8: 256, 1793, 3048, 1352, 112;\n  9: 512, 4097, 8678, 5500, 880, 16;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 3*P(n-1,x) - (2-2*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[3*P[n - 1, x] - (2 - 2*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] = 3*v[i - 1] - (2 - 2*x)*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":"A119808","target":"triangle","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:   2,    1;\n  2:   4,    5;\n  3:   8,   17,    2;\n  4:  16,   49,   16;\n  5:  32,  129,   78,    4;\n  6:  64,  321,  300,   44;\n  7: 128,  769, 1002,  280,   8;\n  8: 256, 1793, 3048, 1352, 112;\n  9: 512, 4097, 8678, 5500, 880, 16;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 3*P(n-1,x) - (2-2*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[3*P[n - 1, x] - (2 - 2*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] = 3*v[i - 1] - (2 - 2*x)*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-6120ac587df8130e","steps":[],"edges":[],"text":"A119808"},"headline":"A119808: Triangle read by rows: T(n,k) is the number of ternary words of length n having k runs of consecutive 0's (0<=k<=ceiling(n/2)).","chain":null}
