{"id":"n-e7331b0d50084c15","revision":2,"first_index":0,"fingerprint":"f6-15f29f5ee2e1e1b1","name":"Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments.","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","3"],["1","6","6"],["1","9","21","12"],["1","12","45","60","24"],["1","15","78","171","156","48"],["1","18","120","372","558","384","96"],["1","21","171","690","1473","1656","912","192"],["1","24","231","1152","3225","5160","4608","2112","384"],["1","27","300","1785","6219","13083","16584","12240","4800","768"],["1","30","378","2616","10941","28746","47910","50016","31392","10752","1536"],["1","33","465","3672","17958","56847","118485","162420","143664","78336","23808","3072"],["1","36","561","4980","27918","103704","260925","447300","518520","397056","191232","52224","6144"],["1","39","666","6567","41550","177498","525180","1087635","1575540","1577760","1063680","458496","113664","12288"],["1","42","780","8460","59664","288516","983880","2398920","4198110","5247360","4616256","2777088","1082880","245760","24576"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","4","13","43","142","469","1549","5116","16897","55807","184318","608761","2010601","6640564","21932293"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A249251","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1","3"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["1","2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","1"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}},{"position":1,"source":"derived:reversal","source_kind":"derived","equality_edge_id":"e-d1fd4aeb8dd19622","recurrence":{"first_index":0,"initial_polynomials":[["1"]],"recurrence":{"denominator":{"coeffs":[["1"],["1"]]},"terms":[{"coeff":{"coeffs":[["1","0"],["1","3"],["0","3"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","-1","4","8"],["0","-1","-8","-4"]]},"deriv_order":1,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","0","1","8","4"]]},"deriv_order":2,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":159696,"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-67b682ca6511d839"]},{"id":159697,"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-67b682ca6511d839","e-c7b023a4533e2987"]},{"id":159698,"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-67b682ca6511d839","e-c7b023a4533e2987"]},{"id":159699,"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-67b682ca6511d839"]},{"id":159700,"position":4,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)]","output_interval":"(-inf, +inf)","statement":"every real polynomial with all roots in E = [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] has a real-rooted image"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] to roots in (-inf, +inf): every real polynomial with all roots in E = [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] has a real-rooted image","region_exact":null,"edges":["e-3519459d402fdd95"]},{"id":159701,"position":5,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)]","output_interval":"[-1 - sqrt(3/4), -1 + sqrt(3/4)]","statement":"every real polynomial with all roots in E = [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] has an image with all roots in I = [-1 - sqrt(3/4), -1 + sqrt(3/4)]"},"label":"Basis map preserves real-rootedness","description":"Basis map u^k -> P_k sends roots in [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] to roots in [-1 - sqrt(3/4), -1 + sqrt(3/4)]: every real polynomial with all roots in E = [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] has an image with all roots in I = [-1 - sqrt(3/4), -1 + sqrt(3/4)]","region_exact":null,"edges":["e-3519459d402fdd95"]},{"id":159702,"position":6,"claim":"basis_map_preserver","from_index":null,"region_key":null,"provenance":"edges","claim_data":{"claim":"basis_map_preserver","input_interval":"[-1/2 - sqrt(3/4), 0]","output_interval":"[-1 - sqrt(3/4), -1 + sqrt(3/4)]","statement":"every PF input with all roots in [-1/2 - sqrt(3/4), 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/2 - sqrt(3/4), 0] to roots in [-1 - sqrt(3/4), -1 + sqrt(3/4)]: every PF input with all roots in [-1/2 - sqrt(3/4), 0] has a PF image; no larger [-R, 0] works","region_exact":null,"edges":["e-3519459d402fdd95"]},{"id":159703,"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-c7b023a4533e2987"]}],"region_exact":{},"incoming_edges":[{"id":"e-3519459d402fdd95","operation":{"operation":"basis_map_theorem"},"operation_detail":null,"conclusion_id":"n-e7331b0d50084c15","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":"01ebd1ac64ec452416fb7a8a6dd8fadef2ed66101a80c17a816ba7637a341a60","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"basis_map_preserver","input_interval":"[-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)]","output_interval":"(-inf, +inf)","statement":"every real polynomial with all roots in E = [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] has a real-rooted image"},{"claim":"basis_map_preserver","input_interval":"[-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)]","output_interval":"[-1 - sqrt(3/4), -1 + sqrt(3/4)]","statement":"every real polynomial with all roots in E = [-1/2 - sqrt(3/4), -1/2 + sqrt(3/4)] has an image with all roots in I = [-1 - sqrt(3/4), -1 + sqrt(3/4)]"},{"claim":"basis_map_preserver","input_interval":"[-1/2 - sqrt(3/4), 0]","output_interval":"[-1 - sqrt(3/4), -1 + sqrt(3/4)]","statement":"every PF input with all roots in [-1/2 - sqrt(3/4), 0] has a PF image; no larger [-R, 0] works"}],"premises":[]},{"id":"e-d1fd4aeb8dd19622","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-e7331b0d50084c15","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":"558ed8316bf881b7c5baf2c3dd8c8ce7a085ed6187923aa86edb43f5db218e00","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-c7b023a4533e2987","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-e7331b0d50084c15","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":"1520d2e300ccd3748125521f40df2676410f96595a7c81ceb8d6aa634547032b","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-d6b7687ba0ff59dd","role":"sequence","name":"Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x)).","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-67b682ca6511d839","operation":{"operation":"theorem_check","theorem":"liu_wang_derivative_lag"},"operation_detail":"liu_wang_derivative_lag","conclusion_id":"n-e7331b0d50084c15","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":"3996e765c452c2e479fdae0816105d4fc88454bebcd1691834b98b6fd5ca9766","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-212843e2c5c5a487","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-359eaa7b22014e19","conclusion_name":"basis_map_A007318 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-30452a36c504caf7","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-0b4bbd677a7a23b2","conclusion_name":"basis_map_A013611 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-346e78903a645c68","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-16217e05bf18203f","conclusion_name":"basis_map_A013609 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-c7e040a5542c37c1","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-5c48d5a293be0231","conclusion_name":"basis_map_A013610 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-de71ae489694e7d4","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-f313a8b6ef4f8f9f","conclusion_name":"basis_map_A008277 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-24dc52663a6481f0","operation":"preserver_image","operation_detail":"mobius, shift 0","conclusion_id":"n-0e9dc0791caef6b1","conclusion_name":"mobius_x_over_x_plus_one of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-6221f70b9611bcd0","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-ea73a83a813f340a","conclusion_name":"one_plus_derivative of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-653cf308b211b3ef","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-a80bd6e416cda10b","conclusion_name":"derivative of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-771904e9efc80f0d","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-52ab7218584c5681","conclusion_name":"theta_plus_one of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-b2da355999d9253c","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-758c6052dbb623d3","conclusion_name":"theta_plus_one_squared of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-c36241f3b645d7b5","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-d6b7687ba0ff59dd","conclusion_name":"Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-c61963b254c15dd4","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-359eaa7b22014e19","conclusion_name":"basis_map_A007318 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-2f2826c60985d96a","operation":"veronese_section","operation_detail":"r=2, j=1, shift 0","conclusion_id":"n-50d500340ceac3b3","conclusion_name":"veronese_section_2_1 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-d1c20fec4222c65a","operation":"veronese_section","operation_detail":"r=2, j=0, shift 0","conclusion_id":"n-20fa172aa35f66fb","conclusion_name":"veronese_section_2_0 of Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."}],"used_by_total":14,"links":[{"id":"l-43f4173b36da5311","kind":"fingerprint_related","node_a_id":"n-d6b7687ba0ff59dd","node_b_id":"n-e7331b0d50084c15","fingerprint":"f6-15f29f5ee2e1e1b1","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-15f29f5ee2e1e1b1"},"other_id":"n-d6b7687ba0ff59dd","other":{"id":"n-d6b7687ba0ff59dd","name":"Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x)).","first_index":0,"fingerprint":"f6-15f29f5ee2e1e1b1","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["3","1"],["6","6","1"]],"card_rows":[["1"],["3","1"],["6","6","1"],["12","21","9","1"]],"row_sums_preview":["1","4","13","43","142","469","1549","5116"],"regions":["(-inf, 0)","(-inf, 0]"],"region_exact":{},"oeis_ids":["A116412"],"derivation":{"root":"n-d6b7687ba0ff59dd","steps":[],"edges":[],"text":"A116412"},"headline":"A116412: Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x)).","chain":null}},{"id":"l-3bd636b1071226ea","kind":"oeis_match","node_a_id":"n-e7331b0d50084c15","node_b_id":null,"fingerprint":null,"oeis_id":"A003688","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":1,"oeis_term_position":0,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A003688","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-529b588da3d3a097","kind":"oeis_match","node_a_id":"n-e7331b0d50084c15","node_b_id":null,"fingerprint":null,"oeis_id":"A249251","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":57},"in_catalog":true,"oeis_id":"A249251","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-57fdef0e5a41a85e","kind":"oeis_match","node_a_id":"n-e7331b0d50084c15","node_b_id":null,"fingerprint":null,"oeis_id":"A116412","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":57},"in_catalog":true,"oeis_id":"A116412","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A249251","relation":"identification"},{"oeis_id":"A116412","relation":"match_reversed_triangle"},{"oeis_id":"A003688","relation":"match_row_sums"},{"oeis_id":"A249251","relation":"match_triangle"}],"bfiles":[{"node_id":"n-e7331b0d50084c15","oeis_id":"A003688","target":"row_sums","oeis_offset":1,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":27,"oeis_terms_available":27,"term_count":200,"raw_size":11334},{"node_id":"n-e7331b0d50084c15","oeis_id":"A116412","target":"reversed_triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":57,"oeis_terms_agreeing":57,"oeis_terms_available":57,"term_count":990,"raw_size":15842},{"node_id":"n-e7331b0d50084c15","oeis_id":"A249251","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":57,"oeis_terms_agreeing":57,"oeis_terms_available":57,"term_count":990,"raw_size":15842}],"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,  3;\n  2: 1,  6,   6;\n  3: 1,  9,  21,   12;\n  4: 1, 12,  45,   60,   24;\n  5: 1, 15,  78,  171,  156,    48;\n  6: 1, 18, 120,  372,  558,   384,    96;\n  7: 1, 21, 171,  690, 1473,  1656,   912,   192;\n  8: 1, 24, 231, 1152, 3225,  5160,  4608,  2112,  384;\n  9: 1, 27, 300, 1785, 6219, 13083, 16584, 12240, 4800, 768;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = (1+2*x)*P(n-1,x) + x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + 3*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + 3*x;\nP[n_, x_] := P[n, x] = Expand[(1 + 2*x)*P[n - 1, x] + 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 + 3*x; for(n = 2, N, my(i = n + 1); v[i] = (1 + 2*x)*v[i - 1] + 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":"A116412","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:   3,    1;\n  2:   6,    6,     1;\n  3:  12,   21,     9,     1;\n  4:  24,   60,    45,    12,     1;\n  5:  48,  156,   171,    78,    15,    1;\n  6:  96,  384,   558,   372,   120,   18,    1;\n  7: 192,  912,  1656,  1473,   690,  171,   21,   1;\n  8: 384, 2112,  4608,  5160,  3225, 1152,  231,  24,  1;\n  9: 768, 4800, 12240, 16584, 13083, 6219, 1785, 300, 27, 1;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where P(n,x) = (1+2*x)*P(n-1,x) + x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + 3*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + 3*x;\nP[n_, x_] := P[n, x] = Expand[(1 + 2*x)*P[n - 1, x] + 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] = 1 + 3*x; for(n = 2, N, my(i = n + 1); v[i] = (1 + 2*x)*v[i - 1] + 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}},{"oeis_id":"A249251","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,  3;\n  2: 1,  6,   6;\n  3: 1,  9,  21,   12;\n  4: 1, 12,  45,   60,   24;\n  5: 1, 15,  78,  171,  156,    48;\n  6: 1, 18, 120,  372,  558,   384,    96;\n  7: 1, 21, 171,  690, 1473,  1656,   912,   192;\n  8: 1, 24, 231, 1152, 3225,  5160,  4608,  2112,  384;\n  9: 1, 27, 300, 1785, 6219, 13083, 16584, 12240, 4800, 768;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = (1+2*x)*P(n-1,x) + x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + 3*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + 3*x;\nP[n_, x_] := P[n, x] = Expand[(1 + 2*x)*P[n - 1, x] + 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] = 1 + 3*x; for(n = 2, N, my(i = n + 1); v[i] = (1 + 2*x)*v[i - 1] + 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}}],"derivation":{"root":"n-e7331b0d50084c15","steps":[],"edges":[],"text":"A249251"},"headline":"A249251: Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments.","chain":null}
