{"id":"n-e3d901814302c059","revision":2,"first_index":0,"fingerprint":"f6-8878718b641e7f5c","name":"Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2)).","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"half_affine","degree_slope":1,"degree_intercept":0,"palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["1"],["1","2"],["1","4"],["1","6","4"],["1","8","12"],["1","10","24","8"],["1","12","40","32"],["1","14","60","80","16"],["1","16","84","160","80"],["1","18","112","280","240","32"],["1","20","144","448","560","192"],["1","22","180","672","1120","672","64"],["1","24","220","960","2016","1792","448"],["1","26","264","1320","3360","4032","1792","128"]],"degrees":[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7],"row_sums":["1","1","3","5","11","21","43","85","171","341","683","1365","2731","5461","10923"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A128099","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["1"]]},"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-9dd90579e209f20b","recurrence":{"first_index":0,"initial_polynomials":[["1"]],"recurrence":{"denominator":{"coeffs":[["0"],["1"]]},"terms":[{"coeff":{"coeffs":[["0","-4"],["1","4"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","-1","-8"]]},"deriv_order":1,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}},{"position":2,"source":"derived:gamma_polynomial","source_kind":"derived","equality_edge_id":"e-46106635735db081","recurrence":{"first_index":0,"initial_polynomials":[["1"],["1"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["1","0"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","2"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":159198,"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":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-250eeed7ad07d148","e-6b9d711da9b2e815","e-7c3667820056c57c"]},{"id":159199,"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-250eeed7ad07d148","e-6b9d711da9b2e815","e-7c3667820056c57c"]},{"id":159200,"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-250eeed7ad07d148","e-6b9d711da9b2e815","e-7c3667820056c57c"]},{"id":159201,"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-7c3667820056c57c"]},{"id":159202,"position":4,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"(-inf, 0]","output_interval":"(-inf, 0]","statement":"every PF input has a real-rooted image with every root <= -c/b = 0"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in (-inf, 0] to roots in (-inf, 0]: every PF input has a real-rooted image with every root <= -c/b = 0","region_exact":null,"edges":["e-70173e467e16020f"]},{"id":159203,"position":5,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"(-inf, 0]","output_interval":"(-inf, 0]","statement":"every PF input has a PF image (zero allowed)"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in (-inf, 0] to roots in (-inf, 0]: every PF input has a PF image (zero allowed)","region_exact":null,"edges":["e-70173e467e16020f"]}],"region_exact":{},"incoming_edges":[{"id":"e-70173e467e16020f","operation":{"operation":"basis_map_theorem"},"operation_detail":null,"conclusion_id":"n-e3d901814302c059","premise_count":0,"theorem":"constant current multiplier: P_0 = 1, P_1 = s, P_(k+2) = a P_(k+1) + (b t + c) P_k with a, s >= 0, b > 0.  P_k(t) = Q_k(b t + c) for the rows Q_k with b = 1, c = 0, whose map sends PF inputs to PF outputs (an interlacing-preserving 2 x 2 matrix, Branden, arXiv:1410.6601, Theorem 8.5), so every PF input has a real-rooted image with roots <= -c/b; PF inputs (also those with roots in any [-R, 0]) have PF images if and only if every P_k(0) >= 0, if and only if a^2 + 4c >= 0 and (2s >= a or c >= s^2 - a s) (RealRooted orderTwoBasis_pf_equivalences, basisTransform_orderTwoBasis_preserves_bounded_pf_iff)","lean_route":null,"lean_declarations":[],"certificate_hash":"1462e95f624943e4070baf80d1ffaecf9194732c2b95ef339772fd391f36a05a","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"basis_map_preserver","input_interval":"(-inf, 0]","output_interval":"(-inf, 0]","statement":"every PF input has a real-rooted image with every root <= -c/b = 0"},{"claim":"basis_map_preserver","input_interval":"(-inf, 0]","output_interval":"(-inf, 0]","statement":"every PF input has a PF image (zero allowed)"}],"premises":[]},{"id":"e-46106635735db081","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-e3d901814302c059","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":"563bffa72448f0a4a7237e566fd717abde4277d218fdfe49944a95ab86692263","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-9dd90579e209f20b","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-e3d901814302c059","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":"e4371abe6662ec9a1c900759b85cb16f1938b61c752a10a12149d189c1903d0b","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-250eeed7ad07d148","operation":{"index_shift":0,"operation":"gamma_polynomial","scale":"1"},"operation_detail":"scale 1, shift 0","conclusion_id":"n-e3d901814302c059","premise_count":1,"theorem":"gamma criterion (RealRooted IsGammaExpansion.isRealRooted_and_hasRootsNonpos_iff): if P = sum_j gamma_j x^j (1 + x)^(d - 2j) with deg Gamma <= d/2, then P is nonzero and real-rooted with roots in (-inf, 0] if and only if Gamma(z) = sum_j gamma_j z^j is; Gamma(c z) with c != 0 has the roots of Gamma divided by c","lean_route":null,"lean_declarations":[],"certificate_hash":"c510169b4a05033d80a373255159ffad183c5fbaac396c59b2a69d812e060102","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-f25cd955a876cde3","role":"sequence","name":"Pascal-(1,2,1) array read by antidiagonals.","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-7c3667820056c57c","operation":{"operation":"parent_provers","route":"paper_theorem"},"operation_detail":"paper_theorem","conclusion_id":"n-e3d901814302c059","premise_count":0,"theorem":"polytool parent provers, route paper_theorem: every parent row P_n, n >= 0, is zero or real-rooted with coefficients of one sign","lean_route":null,"lean_declarations":[],"certificate_hash":"50c63492d7603c7830e32bbeabbb1f739baaf646c714daefe7225db2e2524b16","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"0"}}},{"claim":"interlacing","from_index":1,"kind":"weak","orientation":"previous_interlaces_next"}],"premises":[]},{"id":"e-6b9d711da9b2e815","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-e3d901814302c059","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":"db97f72d31ef5f07d4c3696b24811c8ce42370dee79f80dae6ed92787e0a4d39","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-ba196dcd01800741","role":"sequence","name":"A Jacobsthal triangle.","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]"}]}],"used_by":[{"id":"e-01504583d815a61a","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-0ec0b577bc7a22f4","conclusion_name":"basis_map_A008277 of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-099e290d18ba9894","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-af7a69a897cce4e9","conclusion_name":"basis_map_A013611 of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-114dd09068d0c756","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-f8135e42b21d6fe3","conclusion_name":"basis_map_A013610 of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-2ee1895757bd17cf","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-9e53622e0c440ce5","conclusion_name":"basis_map_A013609 of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-c201453b6387188f","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-0d89b6177f6a1dbb","conclusion_name":"shift_x_plus_one of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-0ace6e908f8ea6d4","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-163abed26b768e53","conclusion_name":"one_plus_derivative of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-480e902e7a68d8c8","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-0d89b6177f6a1dbb","conclusion_name":"shift_x_plus_one of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-5066005127b21217","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-ba196dcd01800741","conclusion_name":"A Jacobsthal triangle."},{"id":"e-781b6acf5129326e","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-f8f37b87137bc296","conclusion_name":"derivative of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-97ccb3d326f9aac4","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-00cae35e2dcc4f7b","conclusion_name":"theta_plus_one_squared of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-f7d8bf11b8c8ed69","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-708c2ef04340154f","conclusion_name":"theta_plus_one of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-85dbfca73c9c3bb9","operation":"veronese_section","operation_detail":"r=2, j=0, shift 0","conclusion_id":"n-77e2730562eef718","conclusion_name":"veronese_section_2_0 of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."},{"id":"e-ad31e5107bbd7227","operation":"veronese_section","operation_detail":"r=2, j=1, shift 0","conclusion_id":"n-31583347ef74369a","conclusion_name":"veronese_section_2_1 of Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2))."}],"used_by_total":13,"links":[{"id":"l-b62f42a379cdb08c","kind":"fingerprint_related","node_a_id":"n-e3d901814302c059","node_b_id":"n-ba196dcd01800741","fingerprint":"f6-8878718b641e7f5c","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-8878718b641e7f5c"},"other_id":"n-ba196dcd01800741","other":{"id":"n-ba196dcd01800741","name":"A Jacobsthal triangle.","first_index":0,"fingerprint":"f6-8878718b641e7f5c","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["0","1"],["0","2","1"]],"card_rows":[["1"],["0","1"],["0","2","1"],["0","0","4","1"]],"row_sums_preview":["1","1","3","5","11","21","43","85"],"regions":["(-inf, 0]","[-8, 0]","(-8, 0]"],"region_exact":{},"oeis_ids":["A113953"],"derivation":{"root":"n-ba196dcd01800741","steps":[],"edges":[],"text":"A113953"},"headline":"A113953: A Jacobsthal triangle.","chain":null}},{"id":"l-0ccb76160203c520","kind":"oeis_match","node_a_id":"n-e3d901814302c059","node_b_id":null,"fingerprint":null,"oeis_id":"A168642","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":1,"target":"row_sums","terms_compared":12},"in_catalog":false,"oeis_id":"A168642","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-1e0c086159b39349","kind":"oeis_match","node_a_id":"n-e3d901814302c059","node_b_id":null,"fingerprint":null,"oeis_id":"A152046","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":"A152046","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-5a522ed9e2e6331d","kind":"oeis_match","node_a_id":"n-e3d901814302c059","node_b_id":null,"fingerprint":null,"oeis_id":"A001045","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":"A001045","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-605d4338810bab3d","kind":"oeis_match","node_a_id":"n-e3d901814302c059","node_b_id":null,"fingerprint":null,"oeis_id":"A283642","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":0,"oeis_term_position":0,"target":"row_sums","terms_compared":14},"in_catalog":false,"oeis_id":"A283642","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-b76c4f6b1d9a5eab","kind":"oeis_match","node_a_id":"n-e3d901814302c059","node_b_id":null,"fingerprint":null,"oeis_id":"A128099","in_catalog":1,"target":"triangle","row_alignment":"node_lengths","rows_matched":15,"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":15,"target":"triangle","terms_compared":64},"in_catalog":true,"oeis_id":"A128099","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-f2aeb95c7a813c22","kind":"oeis_match","node_a_id":"n-e3d901814302c059","node_b_id":null,"fingerprint":null,"oeis_id":"A167167","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":0,"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":"A167167","oeis_nonn":false},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A128099","relation":"identification"},{"oeis_id":"A001045","relation":"match_row_sums"},{"oeis_id":"A152046","relation":"match_row_sums"},{"oeis_id":"A167167","relation":"match_row_sums"},{"oeis_id":"A168642","relation":"match_row_sums"},{"oeis_id":"A283642","relation":"match_row_sums"},{"oeis_id":"A128099","relation":"match_triangle"}],"bfiles":[{"node_id":"n-e3d901814302c059","oeis_id":"A128099","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":62,"terms_matched":64,"oeis_terms_agreeing":66,"oeis_terms_available":66,"term_count":992,"raw_size":13539},{"node_id":"n-e3d901814302c059","oeis_id":"A283642","target":"row_sums","oeis_offset":0,"first_row":1,"rows_used":200,"terms_matched":14,"oeis_terms_agreeing":34,"oeis_terms_available":34,"term_count":200,"raw_size":7006}],"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;\n  2: 1,  2;\n  3: 1,  4;\n  4: 1,  6,  4;\n  5: 1,  8, 12;\n  6: 1, 10, 24,   8;\n  7: 1, 12, 40,  32;\n  8: 1, 14, 60,  80, 16;\n  9: 1, 16, 84, 160, 80;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = P(n-1,x) + 2*x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1;\nP[n_, x_] := P[n, x] = Expand[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] = 1; for(n = 2, N, my(i = n + 1); v[i] = 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":"A128099","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: 1;\n  2: 1,  2;\n  3: 1,  4;\n  4: 1,  6,  4;\n  5: 1,  8, 12;\n  6: 1, 10, 24,   8;\n  7: 1, 12, 40,  32;\n  8: 1, 14, 60,  80, 16;\n  9: 1, 16, 84, 160, 80;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = P(n-1,x) + 2*x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1;\nP[n_, x_] := P[n, x] = Expand[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] = 1; for(n = 2, N, my(i = n + 1); v[i] = 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}}],"derivation":{"root":"n-e3d901814302c059","steps":[],"edges":[],"text":"A128099"},"headline":"A128099: Triangle read by rows: T(n,k) is the number of ways to tile a 3 X n rectangle with k pieces of 2 X 2 tiles and 3n-4k pieces of 1 X 1 tiles (0 <= k <= floor(n/2)).","chain":null}
