{"id":"n-8661caea5a7f6323","revision":0,"first_index":0,"fingerprint":"f6-1d76f410b74fdc6e","name":"basis_map_A008277 of Triangle read by rows: T(n,k) is the number of ternary words of length n having k runs of consecutive 0's (0<=k<=ceiling(n/2)).","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"half_affine","degree_slope":1,"degree_intercept":1,"palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["3","1"],["9","5"],["27","23","2"],["81","97","16"],["243","391","102","4"],["729","1529","564","44"],["2187","5855","2882","360","8"],["6561","22081","13960","2472","112"],["19683","82327","65118","15340","1120","16"],["59049","304265","295356","88772","9200","272"],["177147","1116815","1311194","488592","67240","3216","32"],["531441","4077073","5723536","2589120","452864","30768","640"],["1594323","14819143","24649014","13321300","2873696","258944","8736","64"],["4782969","53674457","104995332","66945692","17422240","1990240","95424","1472"]],"degrees":[0,1,1,2,2,3,3,4,4,5,5,6,6,7,7],"row_sums":["1","4","14","52","194","740","2866","11292","45186","183604","756914","3164236","13405442","57525220","249907826"],"nonn":true,"definitions":[{"position":0,"source":"derived:basis_map_A008277","source_kind":"derived","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["3","1"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["0","2"]]},"deriv_order":0,"offset":2,"sign":"none"},{"coeff":{"coeffs":[["0","2"]]},"deriv_order":1,"offset":2,"sign":"none"},{"coeff":{"coeffs":[["3"]]},"deriv_order":0,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":196339,"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-b0e40ce2940b25fc"]},{"id":196340,"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-b0e40ce2940b25fc"]},{"id":196341,"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-b0e40ce2940b25fc"]}],"region_exact":{},"incoming_edges":[{"id":"e-b0e40ce2940b25fc","operation":{"map":"A008277","operation":"basis_map"},"operation_detail":"A008277","conclusion_id":"n-8661caea5a7f6323","premise_count":1,"theorem":"ray basis maps: for L f = (a + b t) f + kappa (t - h) f', b > 0, kappa >= 0, and g real-rooted with every root <= h, of multiplicity m at h, T(u^k) = L^k g sends every real polynomial with all roots in S to one with all roots in (-inf, h] if and only if S lies in (-inf, a + b h + kappa m] (RealRooted rayBasisMap_maps_realRootedIn_iff; the step is Ma and Wang, EJC 15 (2008) R17, Theorem 2)","lean_route":null,"lean_declarations":[],"certificate_hash":"2012eae1e51d1f68ca4c91dc38009942da0f113e6fc1d15961e05b94f08b19ef","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-6120ac587df8130e","role":"sequence","name":"Triangle read by rows: T(n,k) is the number of ternary words of length n having k runs of consecutive 0's (0<=k<=ceiling(n/2)).","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":[],"used_by_total":0,"links":[],"oeis":[],"bfiles":[],"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:     9,     5;\n  3:    27,    23,     2;\n  4:    81,    97,    16;\n  5:   243,   391,   102,     4;\n  6:   729,  1529,   564,    44;\n  7:  2187,  5855,  2882,   360,    8;\n  8:  6561, 22081, 13960,  2472,  112;\n  9: 19683, 82327, 65118, 15340, 1120, 16;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 2*x*P(n-2,x) + 2*x*d/dx P(n-2,x) + 3*P(n-1,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 - 2, x] + 2*x*D[P[n - 2, x], x] + 3*P[n - 1, 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 - 2] + 2*x*deriv(v[i - 2], x) + 3*v[i - 1]); 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-6120ac587df8130e","steps":["basis A008277"],"edges":["e-b0e40ce2940b25fc"],"text":"A119808 \u2192 basis A008277"},"headline":"A119808 \u2192 basis A008277","chain":null}
