{"id":"n-1bffaa6198344f93","revision":2,"first_index":0,"fingerprint":"f6-324a05be44062cc1","name":"Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ...","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"],["2","2"],["4","10","4"],["8","32","32","8"],["16","88","148","88","16"],["32","224","536","536","224","32"],["64","544","1696","2440","1696","544","64"],["128","1280","4928","9344","9344","4928","1280","128"],["256","2944","13504","31936","42256","31936","13504","2944","256"],["512","6656","35456","100736","167072","167072","100736","35456","6656","512"],["1024","14848","90112","299392","599488","752800","599488","299392","90112","14848","1024"],["2048","32768","223232","849920","1999232","3038720","3038720","1999232","849920","223232","32768","2048"],["4096","71680","541696","2326528","6297088","11274880","13660480","11274880","6297088","2326528","541696","71680","4096"],["8192","155648","1292288","6182912","18947072","39142400","55948160","55948160","39142400","18947072","6182912","1292288","155648","8192"],["16384","335872","3039232","16033792","54913024","128773120","212730880","251113600","212730880","128773120","54913024","16033792","3039232","335872","16384"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","4","18","80","356","1584","7048","31360","139536","620864","2762528","12291840","54692416","243353344","1082798208"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A059473","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["2","2"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["2","2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","2"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}},{"position":1,"source":"derived:reversal","source_kind":"derived","equality_edge_id":"e-f417b7c94fe88fc7","recurrence":{"first_index":0,"initial_polynomials":[["1"]],"recurrence":{"denominator":{"coeffs":[["0"],["1"]]},"terms":[{"coeff":{"coeffs":[["0","0","2"],["2","-1","-2"],["0","3","0"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","0","12","6"],["0","-2","-8","-2"]]},"deriv_order":1,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","0","2","8","2"]]},"deriv_order":2,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":158768,"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-0ee228386582da48"]},{"id":158769,"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-0ee228386582da48","e-c68c82cb1005adf9"]},{"id":158770,"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-0ee228386582da48","e-c68c82cb1005adf9"]},{"id":158771,"position":3,"claim":"interlacing","from_index":1,"region_key":null,"provenance":"edges","claim_data":{"claim":"interlacing","from_index":1,"kind":"strict","orientation":"previous_interlaces_next"},"label":"Interlacing of consecutive rows","description":"Rows P_(m-1), P_m interlace (strict, previous interlaces next) for every m >= 1","region_exact":null,"edges":["e-0ee228386582da48"]},{"id":158772,"position":4,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), -1 + sqrt(3)]","output_interval":"(-inf, +inf)","statement":"every real polynomial with all roots in E = [-1 - sqrt(3), -1 + sqrt(3)] has a real-rooted image"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1 - sqrt(3), -1 + sqrt(3)] to roots in (-inf, +inf): every real polynomial with all roots in E = [-1 - sqrt(3), -1 + sqrt(3)] has a real-rooted image","region_exact":null,"edges":["e-bab1139f7615a265"]},{"id":158773,"position":5,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), -1 + sqrt(3)]","output_interval":"[-2 - sqrt(3), -2 + sqrt(3)]","statement":"every real polynomial with all roots in E = [-1 - sqrt(3), -1 + sqrt(3)] has an image with all roots in I = [-2 - sqrt(3), -2 + sqrt(3)]"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1 - sqrt(3), -1 + sqrt(3)] to roots in [-2 - sqrt(3), -2 + sqrt(3)]: every real polynomial with all roots in E = [-1 - sqrt(3), -1 + sqrt(3)] has an image with all roots in I = [-2 - sqrt(3), -2 + sqrt(3)]","region_exact":null,"edges":["e-bab1139f7615a265"]},{"id":158774,"position":6,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), 0]","output_interval":"[-2 - sqrt(3), -2 + sqrt(3)]","statement":"every PF input with all roots in [-1 - sqrt(3), 0] has a PF image; no larger [-R, 0] works"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1 - sqrt(3), 0] to roots in [-2 - sqrt(3), -2 + sqrt(3)]: every PF input with all roots in [-1 - sqrt(3), 0] has a PF image; no larger [-R, 0] works","region_exact":null,"edges":["e-bab1139f7615a265"]},{"id":158775,"position":7,"claim":"real_rooted","from_index":0,"region_key":"(-inf, 0]","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"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-c68c82cb1005adf9"]}],"region_exact":{},"incoming_edges":[{"id":"e-bab1139f7615a265","operation":{"operation":"basis_map_theorem"},"operation_detail":null,"conclusion_id":"n-1bffaa6198344f93","premise_count":0,"theorem":"affine current multiplier with an affine initial row (module documentation, \"The affine-current theorem\"): with beta = b/d, K = beta^2 + a beta - c > 0 and eta = m/d >= 0, every real polynomial with all roots in E = [-beta - sqrt(K), -beta + sqrt(K)] has a real-rooted image, and no interval of positive length outside E works (Theorem 1); for eta > 0 the images lie in I = [(-a - 2 beta - 2 sqrt(K))/d, (-a - 2 beta + 2 sqrt(K))/d] if and only if eta >= 1/2 and (s - (2 eta - 1) beta)^2 <= (2 eta - 1)^2 K, s = l - eta a (Theorem 2); with a >= 0, K >= beta^2, a + 2 beta >= 0, a^2 + 4c >= 0, l >= 0 and the scalar criterion, PF inputs with roots in [-R, 0], R = beta + sqrt(K), have PF images, sharply (the common-interlacer proof; the Chebyshev case is Iserles and Saff, Math. Proc. Cambridge Philos. Soc. 105 (1989), Theorem 1; the scalar criterion is RealRooted orderTwoConstants_nonneg_iff)","lean_route":null,"lean_declarations":[],"certificate_hash":"df659f5eeec72393579edc9794ce118585945bd75bf5dc5fa8068548cc7c0ef6","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), -1 + sqrt(3)]","output_interval":"(-inf, +inf)","statement":"every real polynomial with all roots in E = [-1 - sqrt(3), -1 + sqrt(3)] has a real-rooted image"},{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), -1 + sqrt(3)]","output_interval":"[-2 - sqrt(3), -2 + sqrt(3)]","statement":"every real polynomial with all roots in E = [-1 - sqrt(3), -1 + sqrt(3)] has an image with all roots in I = [-2 - sqrt(3), -2 + sqrt(3)]"},{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), 0]","output_interval":"[-2 - sqrt(3), -2 + sqrt(3)]","statement":"every PF input with all roots in [-1 - sqrt(3), 0] has a PF image; no larger [-R, 0] works"}],"premises":[]},{"id":"e-f417b7c94fe88fc7","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-1bffaa6198344f93","premise_count":0,"theorem":"all-index identity Q_n = P_n certified by exact Ore-algebra division and identifying rows (polytool preserver-image certificate of the identity map)","lean_route":null,"lean_declarations":[],"certificate_hash":"6364903bf40209aa10c91e191d5da32ad023b3bf48cee95931c7df5b68ff7b93","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-c68c82cb1005adf9","operation":{"index_shift":0,"operation":"preserver_image","operator":"{\"shape\":\"reversal\",\"schedule\":{\"first_index\":0,\"first_degree\":0,\"step\":1}}"},"operation_detail":"reversal, shift 0","conclusion_id":"n-1bffaa6198344f93","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":"reversed","lean_declarations":["RealRooted.X_pow_mul_reverse_eq_zero_or_splits","RealRooted.reflect_eq_zero_or_splits"],"certificate_hash":"15198807c0da214e31b329c528771e224e9f9df97b598b18e3000f8d5b4084a2","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"0"}}}],"premises":[{"position":0,"node_id":"n-1bffaa6198344f93","role":"sequence","name":"Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ...","uses":{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"0"}}},"uses_text":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, 0]"}]},{"id":"e-0ee228386582da48","operation":{"operation":"theorem_check","theorem":"liu_wang_derivative_lag"},"operation_detail":"liu_wang_derivative_lag","conclusion_id":"n-1bffaa6198344f93","premise_count":0,"theorem":"L. L. Liu and Y. Wang, A unified approach to polynomial sequences with only real zeros, Adv. in Appl. Math. 38 (2007) 542-560, Theorem 2.1 with the interlacers f' and the lag row (strict form, as in the derivative-lag theorems of the RealRooted library, https://github.com/PerAlexandersson/RealRooted), with nonnegativity of the coefficients replaced by an exact induction keeping every root in (-inf, 0)","lean_route":"sign","lean_declarations":["RealRooted.threeTerm_interlaces_of_nonnegCoeffs","RealRooted.LiuWang.strictInterl_nonpos_lag_sequence"],"certificate_hash":"2107ce7145d8320703cf8fd566595c5aa687953f97be0fc1d58e4a592ab6b813","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":"strict","orientation":"previous_interlaces_next"}],"premises":[]}],"used_by":[{"id":"e-5acf27e3646b3b0e","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-e6d483569f3966cd","conclusion_name":"basis_map_A013610 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-5f522eca59ad4fe1","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-06cccc6d797721de","conclusion_name":"basis_map_A008277 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-d50592d294a2f5cf","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-43836771acfe9d89","conclusion_name":"basis_map_A007318 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-db96d189fad00e19","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-f07088d208415183","conclusion_name":"basis_map_A013609 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-ed9f19eb14328a55","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-d0950ebbb21f7fa7","conclusion_name":"basis_map_A013611 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-babfdb0b6fa40ea8","operation":"gamma_polynomial","operation_detail":"scale 1, shift 0","conclusion_id":"n-a5662819bbc56ccb","conclusion_name":"gamma_polynomial of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-41032588237d8238","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-15991ea56a6f458f","conclusion_name":"one_plus_derivative of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-4447b916f35935f8","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-f22c958a6b3d4d75","conclusion_name":"derivative of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-6cc6a3c9200dfa14","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-00ac3a99d38c717d","conclusion_name":"theta_plus_one of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-a6e970684438cd5f","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-81ed700eea0a0113","conclusion_name":"theta_plus_one_squared of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-c090df23694a462d","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-43836771acfe9d89","conclusion_name":"basis_map_A007318 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-c68c82cb1005adf9","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-1bffaa6198344f93","conclusion_name":"Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-c70dee1c4800e8a5","operation":"preserver_image","operation_detail":"mobius, shift 0","conclusion_id":"n-22966acca1036f68","conclusion_name":"mobius_x_over_x_plus_one of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-822731dbb3b6fe91","operation":"veronese_section","operation_detail":"r=2, j=0, shift 0","conclusion_id":"n-884429e93dfe8980","conclusion_name":"veronese_section_2_0 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."},{"id":"e-a2c726e1ce7a9186","operation":"veronese_section","operation_detail":"r=2, j=1, shift 0","conclusion_id":"n-556aebc1894bc5d0","conclusion_name":"veronese_section_2_1 of Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ..."}],"used_by_total":15,"links":[{"id":"l-16828b6639998d90","kind":"oeis_match","node_a_id":"n-1bffaa6198344f93","node_b_id":null,"fingerprint":null,"oeis_id":"A059473","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":"A059473","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-627c96114bd4e115","kind":"oeis_match","node_a_id":"n-1bffaa6198344f93","node_b_id":null,"fingerprint":null,"oeis_id":"A090017","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":"A090017","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-f4b419529ce2b2c5","kind":"oeis_match","node_a_id":"n-1bffaa6198344f93","node_b_id":null,"fingerprint":null,"oeis_id":"A059473","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":"A059473","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A059473","relation":"identification"},{"oeis_id":"A059473","relation":"match_reversed_triangle"},{"oeis_id":"A090017","relation":"match_row_sums"},{"oeis_id":"A059473","relation":"match_triangle"}],"bfiles":[{"node_id":"n-1bffaa6198344f93","oeis_id":"A059473","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":20009},{"node_id":"n-1bffaa6198344f93","oeis_id":"A059473","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":20009}],"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,    2;\n  2:   4,   10,     4;\n  3:   8,   32,    32,      8;\n  4:  16,   88,   148,     88,     16;\n  5:  32,  224,   536,    536,    224,     32;\n  6:  64,  544,  1696,   2440,   1696,    544,     64;\n  7: 128, 1280,  4928,   9344,   9344,   4928,   1280,   128;\n  8: 256, 2944, 13504,  31936,  42256,  31936,  13504,  2944,  256;\n  9: 512, 6656, 35456, 100736, 167072, 167072, 100736, 35456, 6656, 512;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = (2+2*x)*P(n-1,x) + 2*x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 2 + 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2 + 2*x;\nP[n_, x_] := P[n, x] = Expand[(2 + 2*x)*P[n - 1, x] + 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 + 2*x; for(n = 2, N, my(i = n + 1); v[i] = (2 + 2*x)*v[i - 1] + 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":"A059473","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:   2,    2;\n  2:   4,   10,     4;\n  3:   8,   32,    32,      8;\n  4:  16,   88,   148,     88,     16;\n  5:  32,  224,   536,    536,    224,     32;\n  6:  64,  544,  1696,   2440,   1696,    544,     64;\n  7: 128, 1280,  4928,   9344,   9344,   4928,   1280,   128;\n  8: 256, 2944, 13504,  31936,  42256,  31936,  13504,  2944,  256;\n  9: 512, 6656, 35456, 100736, 167072, 167072, 100736, 35456, 6656, 512;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = (2+2*x)*P(n-1,x) + 2*x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 2 + 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2 + 2*x;\nP[n_, x_] := P[n, x] = Expand[(2 + 2*x)*P[n - 1, x] + 2*x*P[n - 2, x]];\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] = 2 + 2*x; for(n = 2, N, my(i = n + 1); v[i] = (2 + 2*x)*v[i - 1] + 2*x*v[i - 2]); 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":"A059473","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:   2,    2;\n  2:   4,   10,     4;\n  3:   8,   32,    32,      8;\n  4:  16,   88,   148,     88,     16;\n  5:  32,  224,   536,    536,    224,     32;\n  6:  64,  544,  1696,   2440,   1696,    544,     64;\n  7: 128, 1280,  4928,   9344,   9344,   4928,   1280,   128;\n  8: 256, 2944, 13504,  31936,  42256,  31936,  13504,  2944,  256;\n  9: 512, 6656, 35456, 100736, 167072, 167072, 100736, 35456, 6656, 512;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where P(n,x) = (2+2*x)*P(n-1,x) + 2*x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 2 + 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2 + 2*x;\nP[n_, x_] := P[n, x] = Expand[(2 + 2*x)*P[n - 1, x] + 2*x*P[n - 2, x]];\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] = 2 + 2*x; for(n = 2, N, my(i = n + 1); v[i] = (2 + 2*x)*v[i - 1] + 2*x*v[i - 2]); 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-1bffaa6198344f93","steps":[],"edges":[],"text":"A059473"},"headline":"A059473: Triangle T(n, k) is coefficient of z^n*w^k in 1/(1 - 2*z - 2*w - 2*z*w) read by rows in order 00, 10, 01, 20, 11, 02, ...","chain":null}
