{"id":"n-fbab854f2622405b","revision":0,"first_index":0,"fingerprint":"f6-fe0a8ead5b1a5b27","name":"Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(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","5","1"],["1","12","12","1"],["1","31","60","31","1"],["1","86","253","253","86","1"],["1","249","987","1478","987","249","1"],["1","736","3666","7325","7325","3666","736","1"],["1","2195","13150","32861","43810","32861","13150","2195","1"],["1","6570","45963","137865","229761","229761","137865","45963","6570","1"],["1","19693","157509","551244","1102458","1378062","1102458","551244","157509","19693","1"],["1","59060","531496","2125929","4960446","7440636","7440636","4960446","2125929","531496","59060","1"],["1","177159","1771536","7971835","21258135","37201662","44641968","37201662","21258135","7971835","1771536","177159","1"],["1","531454","5845929","29229541","87688480","175376817","245527458","245527458","175376817","87688480","29229541","5845929","531454","1"],["1","1594337","19131967","105225682","350752061","789191887","1262706819","1473157884","1262706819","789191887","350752061","105225682","19131967","1594337","1"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","7","26","124","680","3952","23456","140224","840320","5039872","30235136","181402624","1088399360","6530363392"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A146987","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1","1"],["1","5","1"],["1","12","12","1"]],"recurrence":{"denominator":{"coeffs":[["-3"],["1"]]},"terms":[{"coeff":{"coeffs":[["-12","-12"],["4","4"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["9","18","9"],["-3","-6","-3"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":169475,"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-2ae06282c0f6bd26"]},{"id":169476,"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-2ae06282c0f6bd26"]},{"id":169477,"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-2ae06282c0f6bd26"]},{"id":169478,"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-2ae06282c0f6bd26"]}],"region_exact":{},"incoming_edges":[{"id":"e-2ae06282c0f6bd26","operation":{"operation":"theorem_check","theorem":"liu_wang_three_term"},"operation_detail":"liu_wang_three_term","conclusion_id":"n-fbab854f2622405b","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":"eedaa5c32bac793b8b5e2af55adac2ea11b11ad19f5dc7a19cbdf0bdac096347","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-0bc3868d003d16cc","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-6587bc79a3c1f503","conclusion_name":"basis_map_A007318 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(n-1)*binomial(n-2, k -1) otherwise."},{"id":"e-1d9d834688f391fd","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-919aa614b1337522","conclusion_name":"basis_map_A008277 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(n-1)*binomial(n-2, k -1) otherwise."},{"id":"e-5c3f56110d60bf0e","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-c22b94fee16d0774","conclusion_name":"basis_map_A013610 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(n-1)*binomial(n-2, k -1) otherwise."},{"id":"e-6feb4d060c383157","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-3f2d3a36a2f92f4a","conclusion_name":"basis_map_A013611 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(n-1)*binomial(n-2, k -1) otherwise."},{"id":"e-d7b86a8b5889d427","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-9addcdd37c167f65","conclusion_name":"basis_map_A013609 of Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(n-1)*binomial(n-2, k -1) otherwise."}],"used_by_total":5,"links":[{"id":"l-4252b387df00100d","kind":"oeis_match","node_a_id":"n-fbab854f2622405b","node_b_id":null,"fingerprint":null,"oeis_id":"A146987","in_catalog":1,"target":"triangle","row_alignment":"tabl","rows_matched":10,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":10,"target":"triangle","terms_compared":55},"in_catalog":true,"oeis_id":"A146987","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-b40e96d2037b0038","kind":"oeis_match","node_a_id":"n-fbab854f2622405b","node_b_id":null,"fingerprint":null,"oeis_id":"A146987","in_catalog":1,"target":"reversed_triangle","row_alignment":"tabl","rows_matched":10,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":10,"target":"reversed_triangle","terms_compared":55},"in_catalog":true,"oeis_id":"A146987","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A146987","relation":"identification"},{"oeis_id":"A146987","relation":"match_reversed_triangle"},{"oeis_id":"A146987","relation":"match_triangle"}],"bfiles":[{"node_id":"n-fbab854f2622405b","oeis_id":"A146987","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":55,"oeis_terms_agreeing":55,"oeis_terms_available":55,"term_count":990,"raw_size":22148},{"node_id":"n-fbab854f2622405b","oeis_id":"A146987","target":"reversed_triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":55,"oeis_terms_agreeing":55,"oeis_terms_available":55,"term_count":990,"raw_size":22148}],"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,    5,     1;\n  3: 1,   12,    12,      1;\n  4: 1,   31,    60,     31,      1;\n  5: 1,   86,   253,    253,     86,      1;\n  6: 1,  249,   987,   1478,    987,    249,      1;\n  7: 1,  736,  3666,   7325,   7325,   3666,    736,     1;\n  8: 1, 2195, 13150,  32861,  43810,  32861,  13150,  2195,    1;\n  9: 1, 6570, 45963, 137865, 229761, 229761, 137865, 45963, 6570, 1;\n","recurrence_sentence":"The row polynomials satisfy (n-3)*P(n,x) = (4*n-12+(4*n-12)*x)*P(n-1,x) - (3*n-9+(6*n-18)*x+(3*n-9)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 5*x + x^2, P(3,x) = 1 + 12*x + 12*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 5*x + x^2;\nP[3, x_] := 1 + 12*x + 12*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((4*n - 12 + (4*n - 12)*x)*P[n - 1, x] - (3*n - 9 + (6*n - 18)*x + (3*n - 9)*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 + 5*x + x^2; v[4] = 1 + 12*x + 12*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((4*n - 12 + (4*n - 12)*x)*v[i - 1] - (3*n - 9 + (6*n - 18)*x + (3*n - 9)*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":"A146987","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,    5,     1;\n  3: 1,   12,    12,      1;\n  4: 1,   31,    60,     31,      1;\n  5: 1,   86,   253,    253,     86,      1;\n  6: 1,  249,   987,   1478,    987,    249,      1;\n  7: 1,  736,  3666,   7325,   7325,   3666,    736,     1;\n  8: 1, 2195, 13150,  32861,  43810,  32861,  13150,  2195,    1;\n  9: 1, 6570, 45963, 137865, 229761, 229761, 137865, 45963, 6570, 1;\n","recurrence_sentence":"The row polynomials satisfy (n-3)*P(n,x) = (4*n-12+(4*n-12)*x)*P(n-1,x) - (3*n-9+(6*n-18)*x+(3*n-9)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 5*x + x^2, P(3,x) = 1 + 12*x + 12*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 5*x + x^2;\nP[3, x_] := 1 + 12*x + 12*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((4*n - 12 + (4*n - 12)*x)*P[n - 1, x] - (3*n - 9 + (6*n - 18)*x + (3*n - 9)*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 + 5*x + x^2; v[4] = 1 + 12*x + 12*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((4*n - 12 + (4*n - 12)*x)*v[i - 1] - (3*n - 9 + (6*n - 18)*x + (3*n - 9)*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":"A146987","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,    5,     1;\n  3: 1,   12,    12,      1;\n  4: 1,   31,    60,     31,      1;\n  5: 1,   86,   253,    253,     86,      1;\n  6: 1,  249,   987,   1478,    987,    249,      1;\n  7: 1,  736,  3666,   7325,   7325,   3666,    736,     1;\n  8: 1, 2195, 13150,  32861,  43810,  32861,  13150,  2195,    1;\n  9: 1, 6570, 45963, 137865, 229761, 229761, 137865, 45963, 6570, 1;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where (n-3)*P(n,x) = (4*n-12+(4*n-12)*x)*P(n-1,x) - (3*n-9+(6*n-18)*x+(3*n-9)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 5*x + x^2, P(3,x) = 1 + 12*x + 12*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 5*x + x^2;\nP[3, x_] := 1 + 12*x + 12*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((4*n - 12 + (4*n - 12)*x)*P[n - 1, x] - (3*n - 9 + (6*n - 18)*x + (3*n - 9)*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 + 5*x + x^2; v[4] = 1 + 12*x + 12*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((4*n - 12 + (4*n - 12)*x)*v[i - 1] - (3*n - 9 + (6*n - 18)*x + (3*n - 9)*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-fbab854f2622405b","steps":[],"edges":[],"text":"A146987"},"headline":"A146987: Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 3^(n-1)*binomial(n-2, k -1) otherwise.","chain":null}
