{"id":"n-e453e5c5b6002f20","revision":0,"first_index":0,"fingerprint":"f6-8090db1b43d4bbd1","name":"shift_x_plus_one of Triangle read by rows: T(n,k) is the number of ternary strings of length n with k indispensable digits, with 0 <= k <= n.","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","2"],["9","11","3"],["27","47","25","4"],["81","182","143","46","5"],["243","668","693","336","75","6"],["729","2369","3052","1981","676","113","7"],["2187","8201","12620","10273","4740","1225","161","8"],["6561","27884","49890","48864","28483","10032","2058","220","9"],["19683","93494","190678","218356","154001","68926","19398","3264","291","10"],["59049","310007","709817","930634","770785","419297","150691","34986","4947","375","11"],["177147","1018595","2587083","3821574","3636659","2331621","1022385","304414","59697","7227","473","12"],["531441","3321506","9267001","15229102","16375710","12098922","6272033","2286098","577126","97350","10241","586","13"],["1594323","10761680","32716835","59205844","70999262","59420694","35587299","15376440","4765982","1038466","152867","14144","715","14"],["4782969","34676525","114093738","225447231","298327299","279028302","189702009","94907043","34955103","9376302","1788501","232479","19110","861","15"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","5","23","103","457","2021","8927","39415","174001","768101","3390599","14966887","66067129","291634565","1287337487"],"nonn":true,"definitions":[{"position":0,"source":"derived:shift_x_plus_one","source_kind":"derived","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["3","2"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["-3","-3","-1"]]},"deriv_order":0,"offset":2,"sign":"none"},{"coeff":{"coeffs":[["4","2"]]},"deriv_order":0,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":174393,"position":0,"claim":"real_rooted","from_index":0,"region_key":"(-inf, -1]","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"-1"}}},"label":"Real-rooted","description":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, -1]","region_exact":null,"edges":["e-096d59d6ba29d9d4"]},{"id":174394,"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-096d59d6ba29d9d4","e-b0052c97a32d6b11"]},{"id":174395,"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-096d59d6ba29d9d4","e-b0052c97a32d6b11"]},{"id":174396,"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":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-b0052c97a32d6b11"]},{"id":174397,"position":4,"claim":"interlacing","from_index":1,"region_key":null,"provenance":"edges","claim_data":{"claim":"interlacing","from_index":1,"kind":"weak","orientation":"unordered"},"label":"Interlacing of consecutive rows","description":"Rows P_(m-1), P_m interlace (weak, unordered) for every m >= 1","region_exact":null,"edges":["e-b0052c97a32d6b11"]}],"region_exact":{},"incoming_edges":[{"id":"e-b0052c97a32d6b11","operation":{"map":"A007318","operation":"basis_map"},"operation_detail":"A007318","conclusion_id":"n-e453e5c5b6002f20","premise_count":1,"theorem":"geometric family P_k = g(t) (a + d t)^k: T(p) = g(t) p(a + d t), so the roots of T(p) are those of g and the points (r - a)/d for the roots r of p (elementary)","lean_route":null,"lean_declarations":[],"certificate_hash":"c84f3523343ae15620e838a4fbdab5ef3034305c0e45f33a59cc15cc77033b23","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"0"}}},{"claim":"interlacing","from_index":1,"kind":"weak","orientation":"unordered"}],"premises":[{"position":0,"node_id":"n-b1a7dcc8610d7e32","role":"sequence","name":"Triangle read by rows: T(n,k) is the number of ternary strings of length n with k indispensable digits, with 0 <= k <= n.","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-096d59d6ba29d9d4","operation":{"index_shift":0,"operation":"preserver_image","operator":"{\"shape\":\"affine\",\"slope\":\"1\",\"intercept\":\"1\"}"},"operation_detail":"affine, shift 0","conclusion_id":"n-e453e5c5b6002f20","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":null,"lean_declarations":["Polynomial.Splits.comp_of_degree_le_one"],"certificate_hash":"366353ca5d822e16e5e8381167ca5d56bb04ab8bbf6e9dcf285f8b0baedfcc51","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{"upper":{"closed":true,"value":"-1"}}}],"premises":[{"position":0,"node_id":"n-b1a7dcc8610d7e32","role":"sequence","name":"Triangle read by rows: T(n,k) is the number of ternary strings of length n with k indispensable digits, with 0 <= k <= n.","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":[{"id":"l-6772a42d8f38729b","kind":"fingerprint_related","node_a_id":"n-f2c01aaaeddbf0a7","node_b_id":"n-e453e5c5b6002f20","fingerprint":"f6-8090db1b43d4bbd1","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-8090db1b43d4bbd1"},"other_id":"n-f2c01aaaeddbf0a7","other":{"id":"n-f2c01aaaeddbf0a7","name":"mobius_x_over_x_plus_one of Triangle, read by rows, of pairwise sums of trinomial coefficients (A027907).","first_index":0,"fingerprint":"f6-8090db1b43d4bbd1","polytool_family":null,"degree_pattern":"affine","palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["2","3"],["3","11","9"]],"card_rows":[["1"],["2","3"],["3","11","9"],["4","25","47","27"]],"row_sums_preview":["1","5","23","103","457","2021","8927","39415"],"regions":["[-1, 0]"],"region_exact":{},"oeis_ids":[],"derivation":{"root":"n-9fa98aec39d32ffa","steps":["x \u21a6 x/(x+1)"],"edges":["e-d2ca773c1176aea3"],"text":"A104029 \u2192 x \u21a6 x/(x+1)"},"headline":"A104029 \u2192 x \u21a6 x/(x+1)","chain":null}}],"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,     2;\n  2:     9,    11,      3;\n  3:    27,    47,     25,      4;\n  4:    81,   182,    143,     46,      5;\n  5:   243,   668,    693,    336,     75,     6;\n  6:   729,  2369,   3052,   1981,    676,   113,     7;\n  7:  2187,  8201,  12620,  10273,   4740,  1225,   161,    8;\n  8:  6561, 27884,  49890,  48864,  28483, 10032,  2058,  220,   9;\n  9: 19683, 93494, 190678, 218356, 154001, 68926, 19398, 3264, 291, 10;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = -(3+3*x+x^2)*P(n-2,x) + (4+2*x)*P(n-1,x) for n >= 2, with P(0,x) = 1, P(1,x) = 3 + 2*x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 3 + 2*x;\nP[n_, x_] := P[n, x] = Expand[-(3 + 3*x + x^2)*P[n - 2, x] + (4 + 2*x)*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 + 2*x; for(n = 2, N, my(i = n + 1); v[i] = -(3 + 3*x + x^2)*v[i - 2] + (4 + 2*x)*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-b1a7dcc8610d7e32","steps":["x \u21a6 x+1"],"edges":["e-096d59d6ba29d9d4"],"text":"A330381 \u2192 x \u21a6 x+1"},"headline":"A330381 \u2192 x \u21a6 x+1","chain":null}
