{"id":"n-9ed87ca196739b1c","revision":2,"first_index":0,"fingerprint":"f6-da93e8b7035ccffa","name":"Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3.","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"affine","degree_slope":1,"degree_intercept":0,"palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["1","1"],["2","5","3"],["5","21","28","12"],["14","84","180","165","55"],["42","330","990","1430","1001","273"],["132","1287","5005","10010","10920","6188","1428"],["429","5005","24024","61880","92820","81396","38760","7752"],["1430","19448","111384","352716","678300","813960","596904","245157","43263"],["4862","75582","503880","1899240","4476780","6864396","6864396","4326300","1562275","246675"],["16796","293930","2238390","9806280","27457584","51482970","65615550","56241900","31081050","10015005","1430715"],["58786","1144066","9806280","49031400","159352050","354323970","551170620","600900300","450675225","221760825","64512240","8414640"],["208012","4457400","42493880","239028075","885809925","2283421140","4206302100","5588372790","5322259800","3548173200","1573537680","417225900","50067108"],["742900","17383860","182530530","1141710570","4757127375","13970931975","29804654880","46835886240","54287049960","45894849000","27536909400","11114897976","2707475148","300830572"],["2674440","67863915","778439025","5362579950","24837212400","81962800920","199052516520","361913666400","495664369200","509432823900","387168946164","211183061544","78215948720","17620076360","1822766520"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","10","66","498","4066","34970","312066","2862562","26824386","255680170","2471150402","24161357010","238552980386","2375085745978"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A104978","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"]],"recurrence":{"denominator":{"coeffs":[["0"],["2"],["4"]]},"terms":[{"coeff":{"coeffs":[["1","3"],["-9","-15"],["14","18"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["-1","-4","-3"],["1","10","9"]]},"deriv_order":1,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":169976,"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-2620a19ff0a1c2c0","e-6342fb7135383542"]},{"id":169977,"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-07579fdddd473591","e-2620a19ff0a1c2c0","e-6342fb7135383542"]},{"id":169978,"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-07579fdddd473591","e-2620a19ff0a1c2c0","e-6342fb7135383542"]},{"id":170082,"position":3,"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-07579fdddd473591"]}],"region_exact":{},"incoming_edges":[{"id":"e-2620a19ff0a1c2c0","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-9ed87ca196739b1c","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":"665c3b7c16ce824832470135052962d5eff385c28d5f13b452e204ab2ba47614","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-8e6b51ac707373f6","role":"sequence","name":"Triangle read by rows: T(n,k) is number of paths from (0,0) to (3n,0) that stay in the first quadrant (but may touch the horizontal axis), consisting of steps u=(2,1),U=(1,2), or d=(1,-1) and have k peaks of the form Ud.","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-07579fdddd473591","operation":{"operation":"theorem_check","theorem":"hypergeometric_row"},"operation_detail":"hypergeometric_row","conclusion_id":"n-9ed87ca196739b1c","premise_count":0,"theorem":"Row-hypergeometric rows: an exact row relation p(n, k) [x^k] P_n + q(n, k) [x^(k-1)] P_n = 0, proved for every n by an invariant row-annihilator system of the rule, writes every row as U_0(n) x^v (or its reversal) times the image of (1 + x)^M(n) under a product of nonnegative multiplier sequences: C^k (C > 0); k -> M'!/(M' - k)!, whose exponential generating function is (1 + x)^M' (Polya--Schur, Theorem 7.1 (3) => (1) of P. Branden, Unimodality, log-concavity, real-rootedness and beyond, arXiv:1410.6601: a sequence is a multiplier sequence when G(x) = sum_k lambda_k x^k / k! or G(-x) can be written C x^m e^(a x) prod_k (1 + alpha_k x) with a >= 0, alpha_k >= 0); k -> phi(k) for a polynomial phi with only real roots, all <= 0 (Laguerre's theorem, RealRooted isPFMultiplierSequence_eval_of_roots_nonpos); k -> 1/(alpha)_k for alpha > 0 (RealRooted isPFMultiplierSequence_inv_ascPochhammer, via the generalized Laguerre polynomials); products of PF multiplier sequences are PF multiplier sequences (RealRooted IsPFMultiplierSequence.mul) and map real-rooted polynomials with nonnegative coefficients to such polynomials (IsPFMultiplierSequence.diagonalOperator_isPF)","lean_route":null,"lean_declarations":["RealRooted.isPFMultiplierSequence_eval_of_roots_nonpos","RealRooted.isPFMultiplierSequence_inv_ascPochhammer","RealRooted.IsPFMultiplierSequence.mul","RealRooted.IsPFMultiplierSequence.diagonalOperator_isPF"],"certificate_hash":"42d0bc9494388d498b7845cdb350d68dca02882c265ffda720af728d76c1e9b9","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":false,"value":"0"}}}],"premises":[]},{"id":"e-6342fb7135383542","operation":{"operation":"theorem_check","theorem":"iterated_preserver"},"operation_detail":"iterated_preserver","conclusion_id":"n-9ed87ca196739b1c","premise_count":0,"theorem":"Iterated real-rootedness preservers (induction on n): if P_m is nonzero and real-rooted with every root in a closed region R and, for every n > m, P_n = a_n(x) S_n(P_(n-1)) where S_n maps every polynomial that is zero or real-rooted with every root in R to zero or a real-rooted polynomial with every root in R and a_n is real-rooted with every root in R, then every P_n is real-rooted with every root in R (the roots of a product are the roots of its factors); an exact degree step keeps every row nonzero; S_n = (A + B D + C D^2 with A = 1 - 9 n + 14 n^2 + 3 x - 15 n x + 18 n^2 x, B = -1 + n - 4 x + 10 n x - 3 x^2 + 9 n x^2, C = 0) / (4 n^2 + 2 n): Branden's Weyl step: T = A + B D + C D^2 maps every real-rooted polynomial to a real-rooted polynomial when (i) B^2 - 4 A C >= 0 on the real line, (ii) A strictly interlaces B (deg B = deg A + 1) or strictly alternates left of B (deg B = deg A), with leading coefficients of the same sign when deg A >= 1, and (iii) T(x^k) has degree deg A + k with leading coefficients of one sign for every k >= 0 (P. Branden, Linear transformations preserving the Polya frequency property, Trans. Amer. Math. Soc. 358 (2006), Corollary 3.5); (i) is necessary for a real-rootedness preserver (J. Borcea and P. Branden, Proc. London Math. Soc. 101 (2010), Theorem 1.3); with coefficients of one sign T also keeps every root in (-inf, 0]","lean_route":null,"lean_declarations":[],"certificate_hash":"fdccec91b05acf01a32d036d27d5b0f96281343a7faabfac3af5cd78f24837ed","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"0"}}}],"premises":[]}],"used_by":[{"id":"e-1d7bbf54cf140861","operation":"preserver_image","operation_detail":"mobius, shift 0","conclusion_id":"n-15250cda9c30cc03","conclusion_name":"mobius_x_over_x_plus_one of Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3."},{"id":"e-35e07d20a816bedf","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-686dc44c06bd803d","conclusion_name":"theta_plus_one_squared of Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3."},{"id":"e-5dac5ef2782253ca","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-7f226db9395183ec","conclusion_name":"one_plus_derivative of Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3."},{"id":"e-6776e7877233c74b","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-a74afe30a81c362f","conclusion_name":"theta_plus_one of Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3."},{"id":"e-b6b2fcd275fafa3a","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-d95c619ac7adfec9","conclusion_name":"derivative of Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3."},{"id":"e-c2f3c7ea34370dd0","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-b662198f30afc0da","conclusion_name":"shift_x_plus_one of Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3."},{"id":"e-f20dd08c54be4028","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-8e6b51ac707373f6","conclusion_name":"Triangle read by rows: T(n,k) is number of paths from (0,0) to (3n,0) that stay in the first quadrant (but may touch the horizontal axis), consisting of steps u=(2,1),U=(1,2), or d=(1,-1) and have k peaks of the form Ud."}],"used_by_total":7,"links":[{"id":"l-0c168733b122b004","kind":"fingerprint_related","node_a_id":"n-9ed87ca196739b1c","node_b_id":"n-eb78d61c7c9e8c34","fingerprint":"f6-da93e8b7035ccffa","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-da93e8b7035ccffa"},"other_id":"n-eb78d61c7c9e8c34","other":{"id":"n-eb78d61c7c9e8c34","name":"Triangle read by rows, interpolating between the central binomial coefficients and the central coefficients of the Catalan triangle. T(n, k) for 0 <= k <= n.","first_index":0,"fingerprint":"f6-da93e8b7035ccffa","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["2","2"],["6","15","9"]],"card_rows":[["1"],["2","2"],["6","15","9"],["20","84","112","48"]],"row_sums_preview":["1","4","30","264","2490","24396","244790","2496528"],"regions":["(-inf, 0)"],"region_exact":{},"oeis_ids":["A330798"],"derivation":{"root":"n-eb78d61c7c9e8c34","steps":[],"edges":[],"text":"A330798"},"headline":"A330798: Triangle read by rows, interpolating between the central binomial coefficients and the central coefficients of the Catalan triangle. T(n, k) for 0 <= k <= n.","chain":null}},{"id":"l-1c03e50880ebe8f3","kind":"fingerprint_related","node_a_id":"n-9ed87ca196739b1c","node_b_id":"n-1b1ae9a68a1f347c","fingerprint":"f6-da93e8b7035ccffa","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-da93e8b7035ccffa"},"other_id":"n-1b1ae9a68a1f347c","other":{"id":"n-1b1ae9a68a1f347c","name":"reversal of Triangle read by rows, interpolating between the central binomial coefficients and the central coefficients of the Catalan triangle. T(n, k) for 0 <= k <= n.","first_index":0,"fingerprint":"f6-da93e8b7035ccffa","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["2","2"],["9","15","6"]],"card_rows":[["1"],["2","2"],["9","15","6"],["48","112","84","20"]],"row_sums_preview":["1","4","30","264","2490","24396","244790","2496528"],"regions":["(-inf, 0]"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-eb78d61c7c9e8c34","steps":["reverse"],"edges":["e-46676dce00be0564"],"text":"A330798 \u2192 reverse"},"headline":"A330798 \u2192 reverse","chain":null}},{"id":"l-332d8075beb66f62","kind":"fingerprint_related","node_a_id":"n-9ed87ca196739b1c","node_b_id":"n-8e6b51ac707373f6","fingerprint":"f6-da93e8b7035ccffa","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-da93e8b7035ccffa"},"other_id":"n-8e6b51ac707373f6","other":{"id":"n-8e6b51ac707373f6","name":"Triangle read by rows: T(n,k) is number of paths from (0,0) to (3n,0) that stay in the first quadrant (but may touch the horizontal axis), consisting of steps u=(2,1),U=(1,2), or d=(1,-1) and have k peaks of the form Ud.","first_index":0,"fingerprint":"f6-da93e8b7035ccffa","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["1","1"],["3","5","2"]],"card_rows":[["1"],["1","1"],["3","5","2"],["12","28","21","5"]],"row_sums_preview":["1","2","10","66","498","4066","34970","312066"],"regions":["(-inf, 0)","(-inf, 0]"],"region_exact":{},"oeis_ids":["A108426"],"derivation":{"root":"n-8e6b51ac707373f6","steps":[],"edges":[],"text":"A108426"},"headline":"A108426: Triangle read by rows: T(n,k) is number of paths from (0,0) to (3n,0) that stay in the first quadrant (but may touch the horizontal axis), consisting of steps u=(2,1),U=(1,2), or d=(1,-1) and have k peaks of the form Ud.","chain":null}},{"id":"l-08417c6ca8877f9b","kind":"oeis_match","node_a_id":"n-9ed87ca196739b1c","node_b_id":null,"fingerprint":null,"oeis_id":"A108426","in_catalog":1,"target":"reversed_triangle","row_alignment":"tabl","rows_matched":9,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":9,"target":"reversed_triangle","terms_compared":46},"in_catalog":true,"oeis_id":"A108426","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-2ab917ea33c77a92","kind":"oeis_match","node_a_id":"n-9ed87ca196739b1c","node_b_id":null,"fingerprint":null,"oeis_id":"A104978","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":"A104978","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-a84a797ded200ee8","kind":"oeis_match","node_a_id":"n-9ed87ca196739b1c","node_b_id":null,"fingerprint":null,"oeis_id":"A027307","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":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A027307","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A104978","relation":"identification"},{"oeis_id":"A108426","relation":"match_reversed_triangle"},{"oeis_id":"A027307","relation":"match_row_sums"},{"oeis_id":"A104978","relation":"match_triangle"}],"bfiles":[{"node_id":"n-9ed87ca196739b1c","oeis_id":"A027307","target":"row_sums","oeis_offset":0,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":20,"oeis_terms_available":20,"term_count":200,"raw_size":21120},{"node_id":"n-9ed87ca196739b1c","oeis_id":"A104978","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":28631},{"node_id":"n-9ed87ca196739b1c","oeis_id":"A108426","target":"reversed_triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":46,"oeis_terms_agreeing":46,"oeis_terms_available":46,"term_count":990,"raw_size":28631}],"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:    2,     5,      3;\n  3:    5,    21,     28,      12;\n  4:   14,    84,    180,     165,      55;\n  5:   42,   330,    990,    1430,    1001,     273;\n  6:  132,  1287,   5005,   10010,   10920,    6188,    1428;\n  7:  429,  5005,  24024,   61880,   92820,   81396,   38760,    7752;\n  8: 1430, 19448, 111384,  352716,  678300,  813960,  596904,  245157,   43263;\n  9: 4862, 75582, 503880, 1899240, 4476780, 6864396, 6864396, 4326300, 1562275, 246675;\n","recurrence_sentence":"The row polynomials satisfy (4*n^2+2*n)*P(n,x) = (14*n^2-9*n+1+(18*n^2-15*n+3)*x)*P(n-1,x) + (n-1+(10*n-4)*x+(9*n-3)*x^2)*d/dx P(n-1,x) for n >= 1, with P(0,x) = 1.","mathematica":"P[0, x_] := 1;\nP[n_, x_] := P[n, x] = Expand[Together[((14*n^2 - 9*n + 1 + (18*n^2 - 15*n + 3)*x)*P[n - 1, x] + (n - 1 + (10*n - 4)*x + (9*n - 3)*x^2)*D[P[n - 1, x], x])/(4*n^2 + 2*n)]];\nTable[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; for(n = 1, N, my(i = n + 1); v[i] = ((14*n^2 - 9*n + 1 + (18*n^2 - 15*n + 3)*x)*v[i - 1] + (n - 1 + (10*n - 4)*x + (9*n - 3)*x^2)*deriv(v[i - 1], x))/(4*n^2 + 2*n)); 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":"A104978","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:    2,     5,      3;\n  3:    5,    21,     28,      12;\n  4:   14,    84,    180,     165,      55;\n  5:   42,   330,    990,    1430,    1001,     273;\n  6:  132,  1287,   5005,   10010,   10920,    6188,    1428;\n  7:  429,  5005,  24024,   61880,   92820,   81396,   38760,    7752;\n  8: 1430, 19448, 111384,  352716,  678300,  813960,  596904,  245157,   43263;\n  9: 4862, 75582, 503880, 1899240, 4476780, 6864396, 6864396, 4326300, 1562275, 246675;\n","recurrence_sentence":"The row polynomials satisfy (4*n^2+2*n)*P(n,x) = (14*n^2-9*n+1+(18*n^2-15*n+3)*x)*P(n-1,x) + (n-1+(10*n-4)*x+(9*n-3)*x^2)*d/dx P(n-1,x) for n >= 1, with P(0,x) = 1.","mathematica":"P[0, x_] := 1;\nP[n_, x_] := P[n, x] = Expand[Together[((14*n^2 - 9*n + 1 + (18*n^2 - 15*n + 3)*x)*P[n - 1, x] + (n - 1 + (10*n - 4)*x + (9*n - 3)*x^2)*D[P[n - 1, x], x])/(4*n^2 + 2*n)]];\nTable[PadRight[CoefficientList[P[n, x], x], n + 1], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; for(n = 1, N, my(i = n + 1); v[i] = ((14*n^2 - 9*n + 1 + (18*n^2 - 15*n + 3)*x)*v[i - 1] + (n - 1 + (10*n - 4)*x + (9*n - 3)*x^2)*deriv(v[i - 1], x))/(4*n^2 + 2*n)); 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":"A108426","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:      3,       5,       2;\n  3:     12,      28,      21,       5;\n  4:     55,     165,     180,      84,      14;\n  5:    273,    1001,    1430,     990,     330,      42;\n  6:   1428,    6188,   10920,   10010,    5005,    1287,     132;\n  7:   7752,   38760,   81396,   92820,   61880,   24024,    5005,    429;\n  8:  43263,  245157,  596904,  813960,  678300,  352716,  111384,  19448,  1430;\n  9: 246675, 1562275, 4326300, 6864396, 6864396, 4476780, 1899240, 503880, 75582, 4862;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where (4*n^2+2*n)*P(n,x) = (14*n^2-9*n+1+(18*n^2-15*n+3)*x)*P(n-1,x) + (n-1+(10*n-4)*x+(9*n-3)*x^2)*d/dx P(n-1,x) for n >= 1, with P(0,x) = 1.","mathematica":"P[0, x_] := 1;\nP[n_, x_] := P[n, x] = Expand[Together[((14*n^2 - 9*n + 1 + (18*n^2 - 15*n + 3)*x)*P[n - 1, x] + (n - 1 + (10*n - 4)*x + (9*n - 3)*x^2)*D[P[n - 1, x], x])/(4*n^2 + 2*n)]];\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; for(n = 1, N, my(i = n + 1); v[i] = ((14*n^2 - 9*n + 1 + (18*n^2 - 15*n + 3)*x)*v[i - 1] + (n - 1 + (10*n - 4)*x + (9*n - 3)*x^2)*deriv(v[i - 1], x))/(4*n^2 + 2*n)); 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-9ed87ca196739b1c","steps":[],"edges":[],"text":"A104978"},"headline":"A104978: Triangle read by rows, where the g.f. satisfies A(x, y) = 1 + x*A(x, y)^2 + x*y*A(x, y)^3.","chain":null}
