{"id":"n-02236a48f5253afe","revision":0,"first_index":0,"fingerprint":"f6-a5de81f788c8c901","name":"Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise.","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"affine","degree_slope":1,"degree_intercept":0,"palindromic":1,"gamma_positive":1,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["1","1"],["1","4","1"],["1","7","7","1"],["1","12","22","12","1"],["1","21","58","58","21","1"],["1","38","143","212","143","38","1"],["1","71","341","675","675","341","71","1"],["1","136","796","1976","2630","1976","796","136","1"],["1","265","1828","5460","9086","9086","5460","1828","265","1"],["1","522","4141","14456","28882","36092","28882","14456","4141","522","1"],["1","1035","9271","37029","86346","129486","129486","86346","37029","9271","1035","1"],["1","2060","20546","92380","246255","430872","517020","430872","246255","92380","20546","2060","1"],["1","4109","45134","225566","676555","1352967","1894068","1894068","1352967","676555","225566","45134","4109","1"],["1","8206","98395","541036","1803241","4057042","6491067","7572840","6491067","4057042","1803241","541036","98395","8206","1"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","6","16","48","160","576","2176","8448","33280","132096","526336","2101248","8396800","33570816"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A146986","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1","1"],["1","4","1"],["1","7","7","1"]],"recurrence":{"denominator":{"coeffs":[["-3"],["1"]]},"terms":[{"coeff":{"coeffs":[["-9","-9"],["3","3"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["6","12","6"],["-2","-4","-2"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":169471,"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-39319a2e6e27ed01"]},{"id":169472,"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-39319a2e6e27ed01"]},{"id":169473,"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-39319a2e6e27ed01"]},{"id":169474,"position":3,"claim":"interlacing","from_index":3,"region_key":null,"provenance":"edges","claim_data":{"claim":"interlacing","from_index":3,"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 >= 3","region_exact":null,"edges":["e-39319a2e6e27ed01"]}],"region_exact":{},"incoming_edges":[{"id":"e-39319a2e6e27ed01","operation":{"operation":"theorem_check","theorem":"liu_wang_three_term"},"operation_detail":"liu_wang_three_term","conclusion_id":"n-02236a48f5253afe","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; Proposition 3.3 (the case B_n(x) = -(c_n x + d_n)^2)","lean_route":"sign","lean_declarations":["RealRooted.threeTerm_interlaces_of_eval_nonpos","RealRooted.threeTerm_interlaces","RealRooted.eval_nonpos_of_natDegree_le_two"],"certificate_hash":"55e7eef535ed86ace4d01fa4e7ef90fcab7ed0a8c011d69c686a96f71e44c4fb","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":false,"value":"0"}}},{"claim":"interlacing","from_index":3,"kind":"weak","orientation":"previous_interlaces_next"}],"premises":[]}],"used_by":[{"id":"e-0768ebea19388b4b","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-29934602e3835baa","conclusion_name":"basis_map_A013611 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise."},{"id":"e-289c399f4e1cc521","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-e34f9664814ccfa0","conclusion_name":"basis_map_A013609 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise."},{"id":"e-37984d7925024601","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-fc3066c48ace6df3","conclusion_name":"basis_map_A008277 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise."},{"id":"e-3b96afdbebca837e","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-a87dc3a277e666f3","conclusion_name":"basis_map_A007318 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise."},{"id":"e-f4965541eafa2082","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-0bec1a9f266d1c7a","conclusion_name":"basis_map_A013610 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise."}],"used_by_total":5,"links":[{"id":"l-0c0d280a41862362","kind":"oeis_match","node_a_id":"n-02236a48f5253afe","node_b_id":null,"fingerprint":null,"oeis_id":"A146986","in_catalog":1,"target":"reversed_triangle","row_alignment":"tabl","rows_matched":11,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":11,"target":"reversed_triangle","terms_compared":66},"in_catalog":true,"oeis_id":"A146986","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-f11332f6495b5e5d","kind":"oeis_match","node_a_id":"n-02236a48f5253afe","node_b_id":null,"fingerprint":null,"oeis_id":"A146986","in_catalog":1,"target":"triangle","row_alignment":"tabl","rows_matched":11,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":11,"target":"triangle","terms_compared":66},"in_catalog":true,"oeis_id":"A146986","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A146986","relation":"identification"},{"oeis_id":"A146986","relation":"match_reversed_triangle"},{"oeis_id":"A146986","relation":"match_triangle"}],"bfiles":[{"node_id":"n-02236a48f5253afe","oeis_id":"A146986","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":66,"oeis_terms_agreeing":66,"oeis_terms_available":66,"term_count":990,"raw_size":17645},{"node_id":"n-02236a48f5253afe","oeis_id":"A146986","target":"reversed_triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":66,"oeis_terms_agreeing":66,"oeis_terms_available":66,"term_count":990,"raw_size":17645}],"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,   1;\n  2: 1,   4,    1;\n  3: 1,   7,    7,    1;\n  4: 1,  12,   22,   12,    1;\n  5: 1,  21,   58,   58,   21,    1;\n  6: 1,  38,  143,  212,  143,   38,    1;\n  7: 1,  71,  341,  675,  675,  341,   71,    1;\n  8: 1, 136,  796, 1976, 2630, 1976,  796,  136,   1;\n  9: 1, 265, 1828, 5460, 9086, 9086, 5460, 1828, 265, 1;\n","recurrence_sentence":"The row polynomials satisfy (n-3)*P(n,x) = (3*n-9+(3*n-9)*x)*P(n-1,x) - (2*n-6+(4*n-12)*x+(2*n-6)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 4*x + x^2, P(3,x) = 1 + 7*x + 7*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 4*x + x^2;\nP[3, x_] := 1 + 7*x + 7*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((3*n - 9 + (3*n - 9)*x)*P[n - 1, x] - (2*n - 6 + (4*n - 12)*x + (2*n - 6)*x^2)*P[n - 2, x])/(n - 3)]];\nTable[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 1 + x; v[3] = 1 + 4*x + x^2; v[4] = 1 + 7*x + 7*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((3*n - 9 + (3*n - 9)*x)*v[i - 1] - (2*n - 6 + (4*n - 12)*x + (2*n - 6)*x^2)*v[i - 2])/(n - 3)); 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":"A146986","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: 1,   1;\n  2: 1,   4,    1;\n  3: 1,   7,    7,    1;\n  4: 1,  12,   22,   12,    1;\n  5: 1,  21,   58,   58,   21,    1;\n  6: 1,  38,  143,  212,  143,   38,    1;\n  7: 1,  71,  341,  675,  675,  341,   71,    1;\n  8: 1, 136,  796, 1976, 2630, 1976,  796,  136,   1;\n  9: 1, 265, 1828, 5460, 9086, 9086, 5460, 1828, 265, 1;\n","recurrence_sentence":"The row polynomials satisfy (n-3)*P(n,x) = (3*n-9+(3*n-9)*x)*P(n-1,x) - (2*n-6+(4*n-12)*x+(2*n-6)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 4*x + x^2, P(3,x) = 1 + 7*x + 7*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 4*x + x^2;\nP[3, x_] := 1 + 7*x + 7*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((3*n - 9 + (3*n - 9)*x)*P[n - 1, x] - (2*n - 6 + (4*n - 12)*x + (2*n - 6)*x^2)*P[n - 2, x])/(n - 3)]];\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] = 1 + x; v[3] = 1 + 4*x + x^2; v[4] = 1 + 7*x + 7*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((3*n - 9 + (3*n - 9)*x)*v[i - 1] - (2*n - 6 + (4*n - 12)*x + (2*n - 6)*x^2)*v[i - 2])/(n - 3)); 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":"A146986","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: 1,   1;\n  2: 1,   4,    1;\n  3: 1,   7,    7,    1;\n  4: 1,  12,   22,   12,    1;\n  5: 1,  21,   58,   58,   21,    1;\n  6: 1,  38,  143,  212,  143,   38,    1;\n  7: 1,  71,  341,  675,  675,  341,   71,    1;\n  8: 1, 136,  796, 1976, 2630, 1976,  796,  136,   1;\n  9: 1, 265, 1828, 5460, 9086, 9086, 5460, 1828, 265, 1;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where (n-3)*P(n,x) = (3*n-9+(3*n-9)*x)*P(n-1,x) - (2*n-6+(4*n-12)*x+(2*n-6)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 4*x + x^2, P(3,x) = 1 + 7*x + 7*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 4*x + x^2;\nP[3, x_] := 1 + 7*x + 7*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((3*n - 9 + (3*n - 9)*x)*P[n - 1, x] - (2*n - 6 + (4*n - 12)*x + (2*n - 6)*x^2)*P[n - 2, x])/(n - 3)]];\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] = 1 + x; v[3] = 1 + 4*x + x^2; v[4] = 1 + 7*x + 7*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((3*n - 9 + (3*n - 9)*x)*v[i - 1] - (2*n - 6 + (4*n - 12)*x + (2*n - 6)*x^2)*v[i - 2])/(n - 3)); 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-02236a48f5253afe","steps":[],"edges":[],"text":"A146986"},"headline":"A146986: Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 2^(n-1) * binomial(n-2, k-1) otherwise.","chain":null}
