{"id":"n-3f596f3a08c8e69f","revision":0,"first_index":0,"fingerprint":"f6-771cff9e4c79260d","name":"Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 4^(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","6","1"],["1","19","19","1"],["1","68","134","68","1"],["1","261","778","778","261","1"],["1","1030","4111","6164","4111","1030","1"],["1","4103","20501","40995","40995","20501","4103","1"],["1","16392","98332","245816","327750","245816","98332","16392","1"],["1","65545","458788","1376340","2293886","2293886","1376340","458788","65545","1"],["1","262154","2097197","7340152","14680274","18350332","14680274","7340152","2097197","262154","1"],["1","1048587","9437239","37748901","88080714","132121038","132121038","88080714","37748901","9437239","1048587","1"],["1","4194316","41943106","188743900","503316975","880804632","1056965532","880804632","503316975","188743900","41943106","4194316","1"],["1","16777229","184549454","922747166","2768241355","5536482567","7751075508","7751075508","5536482567","2768241355","922747166","184549454","16777229","1"],["1","67108878","805306459","4429185388","14763951081","33218889682","53150223291","62008593768","53150223291","33218889682","14763951081","4429185388","805306459","67108878","1"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","8","40","272","2080","16448","131200","1048832","8389120","67109888","536872960","4294971392","34359746560","274877923328"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A146988","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1","1"],["1","6","1"],["1","19","19","1"]],"recurrence":{"denominator":{"coeffs":[["-3"],["1"]]},"terms":[{"coeff":{"coeffs":[["-15","-15"],["5","5"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["12","24","12"],["-4","-8","-4"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":169479,"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-75cf58c1094a3b58"]},{"id":169480,"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-75cf58c1094a3b58"]},{"id":169481,"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-75cf58c1094a3b58"]},{"id":169482,"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-75cf58c1094a3b58"]}],"region_exact":{},"incoming_edges":[{"id":"e-75cf58c1094a3b58","operation":{"operation":"theorem_check","theorem":"liu_wang_three_term"},"operation_detail":"liu_wang_three_term","conclusion_id":"n-3f596f3a08c8e69f","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":"d5c5de3c4ca454161ac57c85dd387d13f1362500a0a0b91398b36e9aa06641b5","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":[],"used_by_total":0,"links":[{"id":"l-a743659f82b12d45","kind":"oeis_match","node_a_id":"n-3f596f3a08c8e69f","node_b_id":null,"fingerprint":null,"oeis_id":"A146988","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":"A146988","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-a943b77762a3a510","kind":"oeis_match","node_a_id":"n-3f596f3a08c8e69f","node_b_id":null,"fingerprint":null,"oeis_id":"A146988","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":"A146988","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A146988","relation":"identification"},{"oeis_id":"A146988","relation":"match_reversed_triangle"},{"oeis_id":"A146988","relation":"match_triangle"}],"bfiles":[{"node_id":"n-3f596f3a08c8e69f","oeis_id":"A146988","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":25354},{"node_id":"n-3f596f3a08c8e69f","oeis_id":"A146988","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":25354}],"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,     6,      1;\n  3: 1,    19,     19,       1;\n  4: 1,    68,    134,      68,       1;\n  5: 1,   261,    778,     778,     261,       1;\n  6: 1,  1030,   4111,    6164,    4111,    1030,       1;\n  7: 1,  4103,  20501,   40995,   40995,   20501,    4103,      1;\n  8: 1, 16392,  98332,  245816,  327750,  245816,   98332,  16392,     1;\n  9: 1, 65545, 458788, 1376340, 2293886, 2293886, 1376340, 458788, 65545, 1;\n","recurrence_sentence":"The row polynomials satisfy (n-3)*P(n,x) = (5*n-15+(5*n-15)*x)*P(n-1,x) - (4*n-12+(8*n-24)*x+(4*n-12)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 6*x + x^2, P(3,x) = 1 + 19*x + 19*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 6*x + x^2;\nP[3, x_] := 1 + 19*x + 19*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((5*n - 15 + (5*n - 15)*x)*P[n - 1, x] - (4*n - 12 + (8*n - 24)*x + (4*n - 12)*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 + 6*x + x^2; v[4] = 1 + 19*x + 19*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((5*n - 15 + (5*n - 15)*x)*v[i - 1] - (4*n - 12 + (8*n - 24)*x + (4*n - 12)*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":"A146988","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,     6,      1;\n  3: 1,    19,     19,       1;\n  4: 1,    68,    134,      68,       1;\n  5: 1,   261,    778,     778,     261,       1;\n  6: 1,  1030,   4111,    6164,    4111,    1030,       1;\n  7: 1,  4103,  20501,   40995,   40995,   20501,    4103,      1;\n  8: 1, 16392,  98332,  245816,  327750,  245816,   98332,  16392,     1;\n  9: 1, 65545, 458788, 1376340, 2293886, 2293886, 1376340, 458788, 65545, 1;\n","recurrence_sentence":"The row polynomials satisfy (n-3)*P(n,x) = (5*n-15+(5*n-15)*x)*P(n-1,x) - (4*n-12+(8*n-24)*x+(4*n-12)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 6*x + x^2, P(3,x) = 1 + 19*x + 19*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 6*x + x^2;\nP[3, x_] := 1 + 19*x + 19*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((5*n - 15 + (5*n - 15)*x)*P[n - 1, x] - (4*n - 12 + (8*n - 24)*x + (4*n - 12)*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 + 6*x + x^2; v[4] = 1 + 19*x + 19*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((5*n - 15 + (5*n - 15)*x)*v[i - 1] - (4*n - 12 + (8*n - 24)*x + (4*n - 12)*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":"A146988","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,     6,      1;\n  3: 1,    19,     19,       1;\n  4: 1,    68,    134,      68,       1;\n  5: 1,   261,    778,     778,     261,       1;\n  6: 1,  1030,   4111,    6164,    4111,    1030,       1;\n  7: 1,  4103,  20501,   40995,   40995,   20501,    4103,      1;\n  8: 1, 16392,  98332,  245816,  327750,  245816,   98332,  16392,     1;\n  9: 1, 65545, 458788, 1376340, 2293886, 2293886, 1376340, 458788, 65545, 1;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where (n-3)*P(n,x) = (5*n-15+(5*n-15)*x)*P(n-1,x) - (4*n-12+(8*n-24)*x+(4*n-12)*x^2)*P(n-2,x) for n >= 4, with P(0,x) = 1, P(1,x) = 1 + x, P(2,x) = 1 + 6*x + x^2, P(3,x) = 1 + 19*x + 19*x^2 + x^3.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[2, x_] := 1 + 6*x + x^2;\nP[3, x_] := 1 + 19*x + 19*x^2 + x^3;\nP[n_, x_] := P[n, x] = Expand[Together[((5*n - 15 + (5*n - 15)*x)*P[n - 1, x] - (4*n - 12 + (8*n - 24)*x + (4*n - 12)*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 + 6*x + x^2; v[4] = 1 + 19*x + 19*x^2 + x^3; for(n = 4, N, my(i = n + 1); v[i] = ((5*n - 15 + (5*n - 15)*x)*v[i - 1] - (4*n - 12 + (8*n - 24)*x + (4*n - 12)*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-3f596f3a08c8e69f","steps":[],"edges":[],"text":"A146988"},"headline":"A146988: Triangle, read by rows, T(n, k) = binomial(n, k) for n < 2 and binomial(n, k) + 4^(n-1) * binomial(n-2, k-1) otherwise.","chain":null}
