{"id":"n-512e5935bc8384f1","revision":1,"first_index":0,"fingerprint":"f6-9a0846fcce650c01","name":"Triangle read by rows: T(n,k) is the number of binary sequences of length n containing k subsequences 001 (n,k>=0).","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"irregular","degree_slope":null,"degree_intercept":null,"palindromic":0,"gamma_positive":0,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["2"],["4"],["7","1"],["12","4"],["20","12"],["33","30","1"],["54","68","6"],["88","144","24"],["143","291","77","1"],["232","568","216","8"],["376","1080","552","40"],["609","2012","1318","156","1"],["986","3688","2988","520","10"],["1596","6672","6504","1552","60"]],"degrees":[0,0,0,1,1,1,2,2,2,3,3,3,4,4,4],"row_sums":["1","2","4","8","16","32","64","128","256","512","1024","2048","4096","8192","16384"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A118424","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["2"],["4"]],"recurrence":{"terms":[{"coeff":{"coeffs":[["2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["-1","1"]]},"deriv_order":0,"offset":3,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":160284,"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-726c0b03589eafe2"]}],"region_exact":{},"incoming_edges":[{"id":"e-726c0b03589eafe2","operation":{"index_shift":0,"operation":"preserver_image","operator":"{\"shape\":\"affine\",\"slope\":\"1/8\",\"intercept\":\"-1/8\"}"},"operation_detail":"affine, shift 0","conclusion_id":"n-512e5935bc8384f1","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":"39ed329647f586bed64b169470b8c8ac78a03c0ed689d523c8a292eb47adceed","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-0d55e0bb3c384646","role":"sequence","name":"Triangle read by rows, formed from antidiagonals of the antidiagonals (A011973) of Pascal's triangle (A007318).","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-02dc160435684a84","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A118655","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":"A118655","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-258563c28df489c7","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A220051","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":"A220051","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-2b602b79269970f2","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A131577","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":1,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A131577","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-422fbadc0497ef21","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A000079","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":"A000079","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-56cb78fcda5f6674","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A034008","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":2,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A034008","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-5b4a2dde63e9c19c","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A166444","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":2,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A166444","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-9e2b6d054efd1305","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A011782","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":1,"target":"row_sums","terms_compared":15},"in_catalog":false,"oeis_id":"A011782","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-bafff87fa7a03f13","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A050732","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":"A050732","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-c805ae64171d09de","kind":"oeis_match","node_a_id":"n-512e5935bc8384f1","node_b_id":null,"fingerprint":null,"oeis_id":"A118424","in_catalog":1,"target":"triangle","row_alignment":"node_lengths","rows_matched":15,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"node_lengths","rows_matched":15,"target":"triangle","terms_compared":45},"in_catalog":true,"oeis_id":"A118424","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A118424","relation":"identification"},{"oeis_id":"A000079","relation":"match_row_sums"},{"oeis_id":"A011782","relation":"match_row_sums"},{"oeis_id":"A034008","relation":"match_row_sums"},{"oeis_id":"A050732","relation":"match_row_sums"},{"oeis_id":"A118655","relation":"match_row_sums"},{"oeis_id":"A131577","relation":"match_row_sums"},{"oeis_id":"A166444","relation":"match_row_sums"},{"oeis_id":"A220051","relation":"match_row_sums"},{"oeis_id":"A118424","relation":"match_triangle"}],"bfiles":[{"node_id":"n-512e5935bc8384f1","oeis_id":"A000079","target":"row_sums","oeis_offset":0,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":35,"oeis_terms_available":35,"term_count":200,"raw_size":6981},{"node_id":"n-512e5935bc8384f1","oeis_id":"A118424","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":76,"terms_matched":45,"oeis_terms_agreeing":55,"oeis_terms_available":55,"term_count":1001,"raw_size":16693}],"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:   2;\n  2:   4;\n  3:   7,   1;\n  4:  12,   4;\n  5:  20,  12;\n  6:  33,  30,  1;\n  7:  54,  68,  6;\n  8:  88, 144, 24;\n  9: 143, 291, 77, 1;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 2*P(n-1,x) - (1-x)*P(n-3,x) for n >= 3, with P(0,x) = 1, P(1,x) = 2, P(2,x) = 4.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2;\nP[2, x_] := 4;\nP[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - (1 - x)*P[n - 3, x]];\nTable[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2; v[3] = 4; for(n = 3, N, my(i = n + 1); v[i] = 2*v[i - 1] - (1 - x)*v[i - 3]); 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":"A118424","target":"triangle","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:   2;\n  2:   4;\n  3:   7,   1;\n  4:  12,   4;\n  5:  20,  12;\n  6:  33,  30,  1;\n  7:  54,  68,  6;\n  8:  88, 144, 24;\n  9: 143, 291, 77, 1;\n","recurrence_sentence":"The row polynomials satisfy P(n,x) = 2*P(n-1,x) - (1-x)*P(n-3,x) for n >= 3, with P(0,x) = 1, P(1,x) = 2, P(2,x) = 4.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 2;\nP[2, x_] := 4;\nP[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - (1 - x)*P[n - 3, x]];\nTable[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2; v[3] = 4; for(n = 3, N, my(i = n + 1); v[i] = 2*v[i - 1] - (1 - x)*v[i - 3]); 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-0d55e0bb3c384646","steps":["x \u21a6 (1/8)x\u22121/8"],"edges":["e-726c0b03589eafe2"],"text":"A102547 \u2192 x \u21a6 (1/8)x\u22121/8"},"headline":"A118424: Triangle read by rows: T(n,k) is the number of binary sequences of length n containing k subsequences 001 (n,k>=0).","chain":"A102547 \u2192 x \u21a6 (1/8)x\u22121/8"}
