{"id":"n-c2eaf5212a4dec13","revision":2,"first_index":0,"fingerprint":"f6-2305441cae17e38c","name":"Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle.","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","3","1"],["1","6","6","1"],["1","10","20","10","1"],["1","15","50","50","15","1"],["1","21","105","175","105","21","1"],["1","28","196","490","490","196","28","1"],["1","36","336","1176","1764","1176","336","36","1"],["1","45","540","2520","5292","5292","2520","540","45","1"],["1","55","825","4950","13860","19404","13860","4950","825","55","1"],["1","66","1210","9075","32670","60984","60984","32670","9075","1210","66","1"],["1","78","1716","15730","70785","169884","226512","169884","70785","15730","1716","78","1"],["1","91","2366","26026","143143","429429","736164","736164","429429","143143","26026","2366","91","1"],["1","105","3185","41405","273273","1002001","2147145","2760615","2147145","1002001","273273","41405","3185","105","1"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","5","14","42","132","429","1430","4862","16796","58786","208012","742900","2674440","9694845"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A001263","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1","1"]],"recurrence":{"denominator":{"coeffs":[["2"],["1"]]},"terms":[{"coeff":{"coeffs":[["1","1"],["2","2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["1","-2","1"],["-1","2","-1"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}},{"position":1,"source":"derived:reversal","source_kind":"derived","equality_edge_id":"e-5f2e71a1e47d5fe3","recurrence":{"first_index":0,"initial_polynomials":[["1"]],"recurrence":{"denominator":{"coeffs":[["2"],["1"]]},"terms":[{"coeff":{"coeffs":[["2","0"],["1","3"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","2","-2"]]},"deriv_order":1,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":158210,"position":0,"claim":"real_rooted","from_index":0,"region_key":"(-inf, +inf)","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{}},"label":"Real-rooted","description":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, +inf)","region_exact":null,"edges":["e-fa7c13a12b3db82b"]},{"id":158211,"position":1,"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-d285019b29e04549"]},{"id":158212,"position":2,"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-14da04f2a2dce119","e-d285019b29e04549"]},{"id":158213,"position":3,"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-14da04f2a2dce119","e-d285019b29e04549"]},{"id":158214,"position":4,"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-d285019b29e04549"]},{"id":158215,"position":5,"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-14da04f2a2dce119"]}],"region_exact":{},"incoming_edges":[{"id":"e-5f2e71a1e47d5fe3","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-c2eaf5212a4dec13","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":"8cf6162eb8c6172d737f778d31a5dfac753ed799769f4cd075771a6c9af91f1c","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-14da04f2a2dce119","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-c2eaf5212a4dec13","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":"e452a077e8c9f17eb00965490ac4667f4ab40ad2bedccfbe492abb1260af7eea","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-c2eaf5212a4dec13","role":"sequence","name":"Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan 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]"}]},{"id":"e-d285019b29e04549","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-c2eaf5212a4dec13","premise_count":0,"theorem":"three-term recurrence Q_n = (a_n y + b_n) Q_(n-1) - c_n Q_(n-2) with a_n != 0 and beta_n = c_n / (a_n a_(n-1)) > 0: simple real roots and strict interlacing of consecutive rows (zero separation for orthogonal polynomials: G. Szeg\u0151, Orthogonal Polynomials, \u00a73.3; Favard, C. R. Acad. Sci. Paris 200 (1935)); root regions by a positive-ratio (chain-sequence) induction","lean_route":null,"lean_declarations":[],"certificate_hash":"bc61429bda893d87f190825974cd5fd85b07867a52f3871e03dc2af10cca3182","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":[]},{"id":"e-fa7c13a12b3db82b","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-c2eaf5212a4dec13","premise_count":0,"theorem":"three-term recurrence Q_n = (a_n y + b_n) Q_(n-1) - c_n Q_(n-2) with a_n != 0 and beta_n = c_n / (a_n a_(n-1)) > 0: simple real roots and strict interlacing of consecutive rows (zero separation for orthogonal polynomials: G. Szeg\u0151, Orthogonal Polynomials, \u00a73.3; Favard, C. R. Acad. Sci. Paris 200 (1935)); root regions by a positive-ratio (chain-sequence) induction","lean_route":null,"lean_declarations":[],"certificate_hash":"cb910aaeb08b65390a709e947650d503ba3138c1a6b2dc2f2c3a5315d96c1fbc","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{}}],"premises":[]}],"used_by":[{"id":"e-1b3fae304d93e9a3","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-582b0731154210db","conclusion_name":"basis_map_A013609 of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-5fe7e1b16eb84690","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-57b4b14604f4c0d7","conclusion_name":"Triangle read by rows: T(n,k) is the number of Schroeder paths of semilength n containing exactly k peaks but no peaks at level one (n >= 1; 0 <= k <= n-1)."},{"id":"e-da5c511e60ab53ca","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-77b7f4b7ebead213","conclusion_name":"basis_map_A008277 of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-e8868415ed0fc739","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-333a80cbe99b35f1","conclusion_name":"basis_map_A013611 of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-ef158e576c5477a7","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-169aeabe58b22027","conclusion_name":"basis_map_A013610 of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-55e5f4941dd58e15","operation":"gamma_polynomial","operation_detail":"scale 1, shift 0","conclusion_id":"n-169bd483754ab390","conclusion_name":"Triangular array of Motzkin polynomial coefficients."},{"id":"e-14da04f2a2dce119","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-c2eaf5212a4dec13","conclusion_name":"Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-57f57afe27d03083","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-57b4b14604f4c0d7","conclusion_name":"Triangle read by rows: T(n,k) is the number of Schroeder paths of semilength n containing exactly k peaks but no peaks at level one (n >= 1; 0 <= k <= n-1)."},{"id":"e-bb9e94713e97c63a","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-15fe5ebf4c0a4758","conclusion_name":"one_plus_derivative of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-d1059a276b20c64c","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-a889e9d86928450a","conclusion_name":"derivative of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-d2a71b42a97e9c64","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-16e42f812cdd0509","conclusion_name":"theta_plus_one of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."},{"id":"e-e5f3b61b305da328","operation":"preserver_image","operation_detail":"mobius, shift 0","conclusion_id":"n-66e2c3448245b0b7","conclusion_name":"Triangle read by rows: T(n, k) is the number of diagonal dissections of a convex n-gon into k+1 regions."},{"id":"e-f46dab037b613258","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-4401d8c28f92f0bd","conclusion_name":"theta_plus_one_squared of Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle."}],"used_by_total":13,"links":[{"id":"l-11b607427846863f","kind":"fingerprint_related","node_a_id":"n-c2eaf5212a4dec13","node_b_id":"n-984320118b653f6b","fingerprint":"f6-2305441cae17e38c","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-2305441cae17e38c"},"other_id":"n-984320118b653f6b","other":{"id":"n-984320118b653f6b","name":"Triangle read by rows, n>=1, 1<=k<=n, T(n,k) = k*binomial(n,k)^2/(n-k+1).","first_index":0,"fingerprint":"f6-2305441cae17e38c","polytool_family":null,"degree_pattern":"affine","palindromic":1,"gamma_positive":1,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["2","2"],["3","9","3"]],"card_rows":[["1"],["2","2"],["3","9","3"],["4","24","24","4"]],"row_sums_preview":["1","4","15","56","210","792","3003","11440"],"regions":["(-inf, 0]","(-inf, 0)","(-inf, +inf)"],"region_exact":{},"oeis_ids":["A132812"],"derivation":{"root":"n-984320118b653f6b","steps":[],"edges":[],"text":"A132812"},"headline":"A132812: Triangle read by rows, n>=1, 1<=k<=n, T(n,k) = k*binomial(n,k)^2/(n-k+1).","chain":null}},{"id":"l-4bc2236da77e4216","kind":"fingerprint_related","node_a_id":"n-2a05d8340c329b21","node_b_id":"n-c2eaf5212a4dec13","fingerprint":"f6-2305441cae17e38c","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-2305441cae17e38c"},"other_id":"n-2a05d8340c329b21","other":{"id":"n-2a05d8340c329b21","name":"narayana","first_index":1,"fingerprint":"f6-2305441cae17e38c","polytool_family":"narayana","degree_pattern":"affine","palindromic":1,"gamma_positive":1,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["1","1"],["1","3","1"]],"card_rows":[["1"],["1","1"],["1","3","1"],["1","6","6","1"]],"row_sums_preview":["1","2","5","14","42","132","429","1430"],"regions":["(-inf, +inf)","(-inf, 0)","(-inf, 0]"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-2a05d8340c329b21","steps":[],"edges":[],"text":"narayana"},"headline":"narayana","chain":null}},{"id":"l-6856762a1a750778","kind":"fingerprint_related","node_a_id":"n-c2eaf5212a4dec13","node_b_id":"n-4ea7eb31fd1a1554","fingerprint":"f6-2305441cae17e38c","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-2305441cae17e38c"},"other_id":"n-4ea7eb31fd1a1554","other":{"id":"n-4ea7eb31fd1a1554","name":"derivative of Triangle read by rows. T(n, k) = binomial(n, k)*binomial(n - 1, n - k - 1).","first_index":0,"fingerprint":"f6-2305441cae17e38c","polytool_family":null,"degree_pattern":"affine","palindromic":1,"gamma_positive":1,"nonnegative":1,"rr_by_factors":0,"preview_rows":[[],[],["2"]],"card_rows":[["2"],["6","6"],["12","36","12"],["20","120","120","20"]],"row_sums_preview":["0","0","2","12","60","280","1260","5544"],"regions":["(-inf, 0]"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-b1b19325e0094118","steps":["D"],"edges":["e-2f63263d248c26b4"],"text":"A367270 \u2192 D"},"headline":"A367270 \u2192 D","chain":null}},{"id":"l-3e5159cbcbb1025f","kind":"oeis_match","node_a_id":"n-c2eaf5212a4dec13","node_b_id":null,"fingerprint":null,"oeis_id":"A120588","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":2,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A120588","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-6f980f8405a45c9a","kind":"oeis_match","node_a_id":"n-c2eaf5212a4dec13","node_b_id":null,"fingerprint":null,"oeis_id":"A001263","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":1,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":10,"target":"triangle","terms_compared":64},"in_catalog":true,"oeis_id":"A001263","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-a1d481e80b03f6e3","kind":"oeis_match","node_a_id":"n-c2eaf5212a4dec13","node_b_id":null,"fingerprint":null,"oeis_id":"A000108","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":"A000108","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-b11ff3c7faf25f3c","kind":"oeis_match","node_a_id":"n-c2eaf5212a4dec13","node_b_id":null,"fingerprint":null,"oeis_id":"A230585","in_catalog":0,"target":"row_sums","row_alignment":null,"rows_matched":null,"oeis_nonn":1,"details":{"alignment":{"first_row":2,"low_zeros_dropped":false,"oeis_offset":1,"oeis_term_position":1,"target":"row_sums","terms_compared":13},"in_catalog":false,"oeis_id":"A230585","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-c3104f313889e747","kind":"oeis_match","node_a_id":"n-c2eaf5212a4dec13","node_b_id":null,"fingerprint":null,"oeis_id":"A001263","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":1,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":10,"target":"reversed_triangle","terms_compared":64},"in_catalog":true,"oeis_id":"A001263","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A001263","relation":"identification"},{"oeis_id":"A001263","relation":"match_reversed_triangle"},{"oeis_id":"A000108","relation":"match_row_sums"},{"oeis_id":"A120588","relation":"match_row_sums"},{"oeis_id":"A230585","relation":"match_row_sums"},{"oeis_id":"A001263","relation":"match_triangle"}],"bfiles":[{"node_id":"n-c2eaf5212a4dec13","oeis_id":"A001263","target":"triangle","oeis_offset":1,"first_row":0,"rows_used":44,"terms_matched":64,"oeis_terms_agreeing":64,"oeis_terms_available":64,"term_count":990,"raw_size":15309},{"node_id":"n-c2eaf5212a4dec13","oeis_id":"A001263","target":"reversed_triangle","oeis_offset":1,"first_row":0,"rows_used":44,"terms_matched":64,"oeis_terms_agreeing":64,"oeis_terms_available":64,"term_count":990,"raw_size":15309}],"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,  3,   1;\n  3: 1,  6,   6,    1;\n  4: 1, 10,  20,   10,    1;\n  5: 1, 15,  50,   50,   15,    1;\n  6: 1, 21, 105,  175,  105,   21,    1;\n  7: 1, 28, 196,  490,  490,  196,   28,   1;\n  8: 1, 36, 336, 1176, 1764, 1176,  336,  36,  1;\n  9: 1, 45, 540, 2520, 5292, 5292, 2520, 540, 45, 1;\n","recurrence_sentence":"The row polynomials satisfy (n+2)*P(n,x) = (2*n+1+(2*n+1)*x)*P(n-1,x) - (n-1-(2*n-2)*x+(n-1)*x^2)*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[n_, x_] := P[n, x] = Expand[Together[((2*n + 1 + (2*n + 1)*x)*P[n - 1, x] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*P[n - 2, x])/(n + 2)]];\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; for(n = 2, N, my(i = n + 1); v[i] = ((2*n + 1 + (2*n + 1)*x)*v[i - 1] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*v[i - 2])/(n + 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":"A001263","target":"triangle","first_row":0,"oeis_offset":1,"reversed":false,"trim_zeros":"none","regular_triangle":true,"rows_shown":10,"polytool_commit":"c48629374597092cc41ef4d6273f37991516f984","triangle_example":"Triangle begins:\n   1: 1;\n   2: 1,  1;\n   3: 1,  3,   1;\n   4: 1,  6,   6,    1;\n   5: 1, 10,  20,   10,    1;\n   6: 1, 15,  50,   50,   15,    1;\n   7: 1, 21, 105,  175,  105,   21,    1;\n   8: 1, 28, 196,  490,  490,  196,   28,   1;\n   9: 1, 36, 336, 1176, 1764, 1176,  336,  36,  1;\n  10: 1, 45, 540, 2520, 5292, 5292, 2520, 540, 45, 1;\n","recurrence_sentence":"The row polynomials satisfy (n+1)*P(n,x) = (2*n-1+(2*n-1)*x)*P(n-1,x) - (n-2-(2*n-4)*x+(n-2)*x^2)*P(n-2,x) for n >= 3, with P(1,x) = 1, P(2,x) = 1 + x.","mathematica":"P[1, x_] := 1;\nP[2, x_] := 1 + x;\nP[n_, x_] := P[n, x] = Expand[Together[((2*n - 1 + (2*n - 1)*x)*P[n - 1, x] - (n - 2 - (2*n - 4)*x + (n - 2)*x^2)*P[n - 2, x])/(n + 1)]];\nTable[PadRight[CoefficientList[P[n, x], x], n], {n, 1, 10}] // Flatten","pari":"P(N) = {my(v = vector(N)); v[1] = 1; v[2] = 1 + x; for(n = 3, N, my(i = n); v[i] = ((2*n - 1 + (2*n - 1)*x)*v[i - 1] - (n - 2 - (2*n - 4)*x + (n - 2)*x^2)*v[i - 2])/(n + 1)); v};\nrow(n, p) = {my(c = Vecrev(p)); c = concat(c, vector(n - #c)); c};\nT(N) = {my(v = P(N)); concat(vector(#v, i, row(i, v[i])))};\nT(10)","reading":{"first_row":0,"offset":1,"reversed":false,"trim_zeros":"none","regular_triangle":true}},{"oeis_id":"A001263","target":"reversed_triangle","first_row":0,"oeis_offset":1,"reversed":true,"trim_zeros":"none","regular_triangle":true,"rows_shown":10,"polytool_commit":"c48629374597092cc41ef4d6273f37991516f984","triangle_example":"Triangle begins:\n   1: 1;\n   2: 1,  1;\n   3: 1,  3,   1;\n   4: 1,  6,   6,    1;\n   5: 1, 10,  20,   10,    1;\n   6: 1, 15,  50,   50,   15,    1;\n   7: 1, 21, 105,  175,  105,   21,    1;\n   8: 1, 28, 196,  490,  490,  196,   28,   1;\n   9: 1, 36, 336, 1176, 1764, 1176,  336,  36,  1;\n  10: 1, 45, 540, 2520, 5292, 5292, 2520, 540, 45, 1;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where (n+1)*P(n,x) = (2*n-1+(2*n-1)*x)*P(n-1,x) - (n-2-(2*n-4)*x+(n-2)*x^2)*P(n-2,x) for n >= 3, with P(1,x) = 1, P(2,x) = 1 + x.","mathematica":"P[1, x_] := 1;\nP[2, x_] := 1 + x;\nP[n_, x_] := P[n, x] = Expand[Together[((2*n - 1 + (2*n - 1)*x)*P[n - 1, x] - (n - 2 - (2*n - 4)*x + (n - 2)*x^2)*P[n - 2, x])/(n + 1)]];\nTable[Reverse[PadRight[CoefficientList[P[n, x], x], n]], {n, 1, 10}] // Flatten","pari":"P(N) = {my(v = vector(N)); v[1] = 1; v[2] = 1 + x; for(n = 3, N, my(i = n); v[i] = ((2*n - 1 + (2*n - 1)*x)*v[i - 1] - (n - 2 - (2*n - 4)*x + (n - 2)*x^2)*v[i - 2])/(n + 1)); v};\nrow(n, p) = {my(c = Vecrev(p)); c = concat(c, vector(n - #c)); c = Vecrev(c); c};\nT(N) = {my(v = P(N)); concat(vector(#v, i, row(i, v[i])))};\nT(10)","reading":{"first_row":0,"offset":1,"reversed":true,"trim_zeros":"none","regular_triangle":true}}],"derivation":{"root":"n-c2eaf5212a4dec13","steps":[],"edges":[],"text":"A001263"},"headline":"A001263: Triangle of Narayana numbers T(n,k) = C(n-1,k-1)*C(n,k-1)/k with 1 <= k <= n, read by rows. Also called the Catalan triangle.","chain":null}
