{"id":"n-d6b7687ba0ff59dd","revision":2,"first_index":0,"fingerprint":"f6-15f29f5ee2e1e1b1","name":"Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x)).","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"],["3","1"],["6","6","1"],["12","21","9","1"],["24","60","45","12","1"],["48","156","171","78","15","1"],["96","384","558","372","120","18","1"],["192","912","1656","1473","690","171","21","1"],["384","2112","4608","5160","3225","1152","231","24","1"],["768","4800","12240","16584","13083","6219","1785","300","27","1"],["1536","10752","31392","50016","47910","28746","10941","2616","378","30","1"],["3072","23808","78336","143664","162420","118485","56847","17958","3672","465","33","1"],["6144","52224","191232","397056","518520","447300","260925","103704","27918","4980","561","36","1"],["12288","113664","458496","1063680","1577760","1575540","1087635","525180","177498","41550","6567","666","39","1"],["24576","245760","1082880","2777088","4616256","5247360","4198110","2398920","983880","288516","59664","8460","780","42","1"]],"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:A116412","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["3","1"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["2","1"]]},"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-d34045cf0110047c","recurrence":{"first_index":0,"initial_polynomials":[["1"],["3","1"]],"recurrence":{"denominator":{"coeffs":[["-2"],["2"]]},"terms":[{"coeff":{"coeffs":[["-4","2","2"],["4","-5","-2"],["0","3","0"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","4","20","4"],["0","-4","-8","-1"]]},"deriv_order":1,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","0","4","8","1"]]},"deriv_order":2,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":159101,"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-ee40b91a84fdd5b7"]},{"id":159102,"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-c36241f3b645d7b5","e-ee40b91a84fdd5b7"]},{"id":159103,"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-c36241f3b645d7b5","e-ee40b91a84fdd5b7"]},{"id":159104,"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-ee40b91a84fdd5b7"]},{"id":159105,"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-1662d4b11e9f54c0"]},{"id":159106,"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":"[-4 - 2 sqrt(3), -4 + 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 = [-4 - 2 sqrt(3), -4 + 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 [-4 - 2 sqrt(3), -4 + 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 = [-4 - 2 sqrt(3), -4 + 2 sqrt(3)]","region_exact":null,"edges":["e-1662d4b11e9f54c0"]},{"id":159107,"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":"[-4 - 2 sqrt(3), -4 + 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 [-4 - 2 sqrt(3), -4 + 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-1662d4b11e9f54c0"]},{"id":159108,"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-c36241f3b645d7b5"]}],"region_exact":{},"incoming_edges":[{"id":"e-1662d4b11e9f54c0","operation":{"operation":"basis_map_theorem"},"operation_detail":null,"conclusion_id":"n-d6b7687ba0ff59dd","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":"eab3ec86c73f03670f86c70de64af292100c9dde5c0a3d61c747daa8dae7e18d","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":"[-4 - 2 sqrt(3), -4 + 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 = [-4 - 2 sqrt(3), -4 + 2 sqrt(3)]"},{"claim":"basis_map_preserver","input_interval":"[-1 - sqrt(3), 0]","output_interval":"[-4 - 2 sqrt(3), -4 + 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-d34045cf0110047c","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-d6b7687ba0ff59dd","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":"8bfcb7531dbfe7fb17d0d5fd0cd353f98d282eb120c3e76a67753172e37f305d","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-c36241f3b645d7b5","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-d6b7687ba0ff59dd","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":"706675af6eb6e7ebcc4bee3d8038d1e8dbb84c29c672fc24e4a1e53f18a510c8","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-e7331b0d50084c15","role":"sequence","name":"Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments.","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-ee40b91a84fdd5b7","operation":{"operation":"theorem_check","theorem":"liu_wang_derivative_lag"},"operation_detail":"liu_wang_derivative_lag","conclusion_id":"n-d6b7687ba0ff59dd","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":"afed3de10fb798645b6a5f1b752cac115bf719c7a0395363f3a0eae03f006799","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-0d5d22b8fd97251b","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-820fbf6ab98121e9","conclusion_name":"basis_map_A013609 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-32d1efa81dadfdb2","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-131f5baf2477adf2","conclusion_name":"basis_map_A007318 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-3771d6044a0ef815","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-2a476baf987bc613","conclusion_name":"basis_map_A013611 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-c215916a1d865227","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-b6b91663b1595985","conclusion_name":"basis_map_A008277 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-dddeff0317c778fa","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-c16b107c87dd2b64","conclusion_name":"basis_map_A013610 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-0cc329e6d69bfe0a","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-63493f02dc9b1286","conclusion_name":"theta_plus_one of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-29ee48d67514cd97","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-2c934b8a3163661e","conclusion_name":"derivative of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-7fe4c3f24349ff5b","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-c7bd2e9e005d1d91","conclusion_name":"one_plus_derivative of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-8755b73a3425b06c","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-f87f88c03d00c0c8","conclusion_name":"theta_plus_one_squared of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-a802d54c8a2137b8","operation":"preserver_image","operation_detail":"mobius, shift 0","conclusion_id":"n-a0e65e4dc3f9251c","conclusion_name":"mobius_x_over_x_plus_one of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-c7b023a4533e2987","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-e7331b0d50084c15","conclusion_name":"Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments."},{"id":"e-c997a055dd6d21a0","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-131f5baf2477adf2","conclusion_name":"basis_map_A007318 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-593da3abd88a42f1","operation":"veronese_section","operation_detail":"r=2, j=1, shift 0","conclusion_id":"n-2bd5c8b17486c8ed","conclusion_name":"veronese_section_2_1 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."},{"id":"e-8a973afc86912433","operation":"veronese_section","operation_detail":"r=2, j=0, shift 0","conclusion_id":"n-c19b974ec19fa93d","conclusion_name":"veronese_section_2_0 of Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x))."}],"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-e7331b0d50084c15","other":{"id":"n-e7331b0d50084c15","name":"Triangular array:  row n gives the coefficients of the polynomial p(n,x) defined in Comments.","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"],["1","3"],["1","6","6"]],"card_rows":[["1"],["1","3"],["1","6","6"],["1","9","21","12"]],"row_sums_preview":["1","4","13","43","142","469","1549","5116"],"regions":["(-inf, 0)","(-inf, 0]"],"region_exact":{},"oeis_ids":["A249251"],"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}},{"id":"l-13d90192aae9d585","kind":"oeis_match","node_a_id":"n-d6b7687ba0ff59dd","node_b_id":null,"fingerprint":null,"oeis_id":"A116412","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":"A116412","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-53392be093bbcc1c","kind":"oeis_match","node_a_id":"n-d6b7687ba0ff59dd","node_b_id":null,"fingerprint":null,"oeis_id":"A249251","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":"A249251","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-6b0ec052c88b46a0","kind":"oeis_match","node_a_id":"n-d6b7687ba0ff59dd","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}],"oeis":[{"oeis_id":"A116412","relation":"identification"},{"oeis_id":"A249251","relation":"match_reversed_triangle"},{"oeis_id":"A003688","relation":"match_row_sums"},{"oeis_id":"A116412","relation":"match_triangle"}],"bfiles":[{"node_id":"n-d6b7687ba0ff59dd","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-d6b7687ba0ff59dd","oeis_id":"A116412","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},{"node_id":"n-d6b7687ba0ff59dd","oeis_id":"A249251","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}],"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:   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":"The row polynomials satisfy P(n,x) = (2+x)*P(n-1,x) + x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 3 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 3 + x;\nP[n_, x_] := P[n, x] = Expand[(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] = 3 + x; for(n = 2, N, my(i = n + 1); v[i] = (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":"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:   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":"The row polynomials satisfy P(n,x) = (2+x)*P(n-1,x) + x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 3 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 3 + x;\nP[n_, x_] := P[n, x] = Expand[(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] = 3 + x; for(n = 2, N, my(i = n + 1); v[i] = (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}},{"oeis_id":"A249251","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,  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":"Row n lists the coefficients of P(n,x) in descending powers of x, where P(n,x) = (2+x)*P(n-1,x) + x*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 3 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 3 + x;\nP[n_, x_] := P[n, x] = Expand[(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] = 3 + x; for(n = 2, N, my(i = n + 1); v[i] = (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}}],"derivation":{"root":"n-d6b7687ba0ff59dd","steps":[],"edges":[],"text":"A116412"},"headline":"A116412: Riordan array ((1+x)/(1-2x),x(1+x)/(1-2x)).","chain":null}
