{"id":"n-b13531ad79e7c629","revision":2,"first_index":0,"fingerprint":"f6-b8a804edad022635","name":"Square the entries of Pascal's triangle.","polytool_family":null,"interpretation":null,"rows_observed":15,"degree_pattern":"affine","degree_slope":1,"degree_intercept":0,"palindromic":1,"gamma_positive":1,"nonnegative":1,"rr_by_factors":false,"rows":[["1"],["1","1"],["1","4","1"],["1","9","9","1"],["1","16","36","16","1"],["1","25","100","100","25","1"],["1","36","225","400","225","36","1"],["1","49","441","1225","1225","441","49","1"],["1","64","784","3136","4900","3136","784","64","1"],["1","81","1296","7056","15876","15876","7056","1296","81","1"],["1","100","2025","14400","44100","63504","44100","14400","2025","100","1"],["1","121","3025","27225","108900","213444","213444","108900","27225","3025","121","1"],["1","144","4356","48400","245025","627264","853776","627264","245025","48400","4356","144","1"],["1","169","6084","81796","511225","1656369","2944656","2944656","1656369","511225","81796","6084","169","1"],["1","196","8281","132496","1002001","4008004","9018009","11778624","9018009","4008004","1002001","132496","8281","196","1"]],"degrees":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"row_sums":["1","2","6","20","70","252","924","3432","12870","48620","184756","705432","2704156","10400600","40116600"],"nonn":true,"definitions":[{"position":0,"source":"oeis_catalog:A008459","source_kind":"oeis_catalog","equality_edge_id":null,"recurrence":{"first_index":0,"initial_polynomials":[["1"],["1","1"]],"recurrence":{"denominator":{"coeffs":[["0"],["1"]]},"terms":[{"coeff":{"coeffs":[["-1","-1"],["2","2"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["1","-2","1"],["-1","2","-1"]]},"deriv_order":0,"offset":2,"sign":"none"}]},"schema":"polytool.recurrence.v1"}},{"position":1,"source":"derived:reversal","source_kind":"derived","equality_edge_id":"e-ec2b4f4a19835fe0","recurrence":{"first_index":0,"initial_polynomials":[["1"]],"recurrence":{"denominator":{"coeffs":[["0"],["1"]]},"terms":[{"coeff":{"coeffs":[["0","-2"],["1","3"]]},"deriv_order":0,"offset":1,"sign":"none"},{"coeff":{"coeffs":[["0","2","-2"]]},"deriv_order":1,"offset":1,"sign":"none"}]},"schema":"polytool.recurrence.v1"}}],"properties":[{"id":158236,"position":0,"claim":"real_rooted","from_index":0,"region_key":"(-inf, +inf)","provenance":"edges","claim_data":{"claim":"real_rooted","from_index":0,"region":{}},"label":"Real-rooted","description":"Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, +inf)","region_exact":null,"edges":["e-2ee2b1274ddaaf7f"]},{"id":158237,"position":1,"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-c6b04c4560617585"]},{"id":158238,"position":2,"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-1906182487ade7a7","e-c6b04c4560617585"]},{"id":158239,"position":3,"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-1906182487ade7a7","e-c6b04c4560617585"]},{"id":158240,"position":4,"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-c6b04c4560617585"]},{"id":158241,"position":5,"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-1906182487ade7a7"]}],"region_exact":{},"incoming_edges":[{"id":"e-ec2b4f4a19835fe0","operation":{"operation":"definition_equality"},"operation_detail":null,"conclusion_id":"n-b13531ad79e7c629","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":"02bb39662017b4df187f7c8d394ea81cbe854b827a1dae83e0095ab9ad8e6855","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[],"premises":[]},{"id":"e-1906182487ade7a7","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-b13531ad79e7c629","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":"e665f6dfdd3b2a114e23f41bdefabe45efe02d07d4cd3d3bb19a83da2d8e4eca","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-b13531ad79e7c629","role":"sequence","name":"Square the entries of Pascal's triangle.","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-2ee2b1274ddaaf7f","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-b13531ad79e7c629","premise_count":0,"theorem":"three-term recurrence Q_n = (a_n y + b_n) Q_(n-1) - c_n Q_(n-2) with a_n != 0 and beta_n = c_n / (a_n a_(n-1)) > 0: simple real roots and strict interlacing of consecutive rows (zero separation for orthogonal polynomials: G. Szeg\u0151, Orthogonal Polynomials, \u00a73.3; Favard, C. R. Acad. Sci. Paris 200 (1935)); root regions by a positive-ratio (chain-sequence) induction","lean_route":null,"lean_declarations":[],"certificate_hash":"c27087114ca02ba5260d1b89b2b601b5816725c4b08de02ad5375ca4304b264d","verification_polytool":"replayed","verification_lean":"not_attempted","claims":[{"claim":"real_rooted","from_index":0,"region":{}}],"premises":[]},{"id":"e-c6b04c4560617585","operation":{"operation":"theorem_check","theorem":"three_term_recurrence"},"operation_detail":"three_term_recurrence","conclusion_id":"n-b13531ad79e7c629","premise_count":0,"theorem":"three-term recurrence Q_n = (a_n y + b_n) Q_(n-1) - c_n Q_(n-2) with a_n != 0 and beta_n = c_n / (a_n a_(n-1)) > 0: simple real roots and strict interlacing of consecutive rows (zero separation for orthogonal polynomials: G. Szeg\u0151, Orthogonal Polynomials, \u00a73.3; Favard, C. R. Acad. Sci. Paris 200 (1935)); root regions by a positive-ratio (chain-sequence) induction","lean_route":null,"lean_declarations":[],"certificate_hash":"4ca66e313d076d179d7a61429d7b8a148a7ee05e96d1cc4e22deccb5b2520d82","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-4579edc5f7a4d216","operation":"basis_map","operation_detail":"A013609","conclusion_id":"n-fe801e460afa1e3b","conclusion_name":"basis_map_A013609 of Square the entries of Pascal's triangle."},{"id":"e-47adeea10c1f7991","operation":"basis_map","operation_detail":"A007318","conclusion_id":"n-57c367574a30fd7b","conclusion_name":"basis_map_A007318 of Square the entries of Pascal's triangle."},{"id":"e-52e1bd34b019f2ca","operation":"basis_map","operation_detail":"A013611","conclusion_id":"n-01d7f2ed2a619101","conclusion_name":"basis_map_A013611 of Square the entries of Pascal's triangle."},{"id":"e-906bba3237df75f5","operation":"basis_map","operation_detail":"A008277","conclusion_id":"n-ae235faa570528c4","conclusion_name":"basis_map_A008277 of Square the entries of Pascal's triangle."},{"id":"e-e5654950c1df5684","operation":"basis_map","operation_detail":"A013610","conclusion_id":"n-117b55f7953e214b","conclusion_name":"basis_map_A013610 of Square the entries of Pascal's triangle."},{"id":"e-e4032a9809c053c3","operation":"gamma_polynomial","operation_detail":"scale 1, shift 0","conclusion_id":"n-8bfdd58279be42d7","conclusion_name":"Triangle read by rows: T(n,k) is k-th entry of the gamma-vector of the n-dimensional cyclohedron, 0 <= k <= floor(n/2)."},{"id":"e-1502afc95f4714aa","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-c04611681e1f7a90","conclusion_name":"theta_plus_one of Square the entries of Pascal's triangle."},{"id":"e-1906182487ade7a7","operation":"preserver_image","operation_detail":"reversal, shift 0","conclusion_id":"n-b13531ad79e7c629","conclusion_name":"Square the entries of Pascal's triangle."},{"id":"e-2ce1a392fcdf3dd9","operation":"preserver_image","operation_detail":"mobius, shift 0","conclusion_id":"n-55a66d3aeb8cbce1","conclusion_name":"mobius_x_over_x_plus_one of Square the entries of Pascal's triangle."},{"id":"e-40b4efc61cad5541","operation":"preserver_image","operation_detail":"affine, shift 0","conclusion_id":"n-57c367574a30fd7b","conclusion_name":"basis_map_A007318 of Square the entries of Pascal's triangle."},{"id":"e-5639156d5f625a05","operation":"preserver_image","operation_detail":"euler_polynomial, shift 0","conclusion_id":"n-e11bbeddac8eac8c","conclusion_name":"theta_plus_one_squared of Square the entries of Pascal's triangle."},{"id":"e-835093125a0f64b6","operation":"preserver_image","operation_detail":"hadamard_multiplier, shift 0","conclusion_id":"n-fabb0a68e001a863","conclusion_name":"Triangle of cubed binomial coefficients, T(n,k) = C(n,k)^3, read by rows."},{"id":"e-c979375bc9c35b2c","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-aff68976ca55ced5","conclusion_name":"derivative of Square the entries of Pascal's triangle."},{"id":"e-cd6bcf4594ae6a7e","operation":"preserver_image","operation_detail":"derivative_polynomial, shift 0","conclusion_id":"n-6457b4a2d865b72d","conclusion_name":"one_plus_derivative of Square the entries of Pascal's triangle."}],"used_by_total":14,"links":[{"id":"l-25a73b0eb20f28e0","kind":"fingerprint_related","node_a_id":"n-b13531ad79e7c629","node_b_id":"n-fdc03fad975441d0","fingerprint":"f6-b8a804edad022635","oeis_id":null,"in_catalog":null,"target":null,"row_alignment":null,"rows_matched":null,"oeis_nonn":null,"details":{"fingerprint":"f6-b8a804edad022635"},"other_id":"n-fdc03fad975441d0","other":{"id":"n-fdc03fad975441d0","name":"Triangle T(n, k) of numbers of square lattice walks that start and end at origin after 2*n steps and contain exactly k steps to the east, possibly touching origin at intermediate stages.","first_index":0,"fingerprint":"f6-b8a804edad022635","polytool_family":null,"degree_pattern":"affine","palindromic":1,"gamma_positive":1,"nonnegative":1,"rr_by_factors":0,"preview_rows":[["1"],["2","2"],["6","24","6"]],"card_rows":[["1"],["2","2"],["6","24","6"],["20","180","180","20"]],"row_sums_preview":["1","4","36","400","4900","63504","853776","11778624"],"regions":["(-inf, +inf)","(-inf, 0)"],"region_exact":{},"oeis_ids":["A069466"],"derivation":{"root":"n-fdc03fad975441d0","steps":[],"edges":[],"text":"A069466"},"headline":"A069466: Triangle T(n, k) of numbers of square lattice walks that start and end at origin after 2*n steps and contain exactly k steps to the east, possibly touching origin at intermediate stages.","chain":null}},{"id":"l-297e4f7be42d9d92","kind":"oeis_match","node_a_id":"n-b13531ad79e7c629","node_b_id":null,"fingerprint":null,"oeis_id":"A008459","in_catalog":1,"target":"triangle","row_alignment":"tabl","rows_matched":11,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":11,"target":"triangle","terms_compared":66},"in_catalog":true,"oeis_id":"A008459","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-7624b39867836ddb","kind":"oeis_match","node_a_id":"n-b13531ad79e7c629","node_b_id":null,"fingerprint":null,"oeis_id":"A008459","in_catalog":1,"target":"reversed_triangle","row_alignment":"tabl","rows_matched":11,"oeis_nonn":1,"details":{"alignment":{"first_row":0,"low_zeros_dropped":false,"oeis_offset":0,"oeis_term_position":0,"row_alignment":"tabl","rows_matched":11,"target":"reversed_triangle","terms_compared":66},"in_catalog":true,"oeis_id":"A008459","oeis_nonn":true},"other_id":null,"other":null},{"id":"l-cc12d2bdcda7e2b6","kind":"oeis_match","node_a_id":"n-b13531ad79e7c629","node_b_id":null,"fingerprint":null,"oeis_id":"A000984","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":"A000984","oeis_nonn":true},"other_id":null,"other":null}],"oeis":[{"oeis_id":"A008459","relation":"identification"},{"oeis_id":"A008459","relation":"match_reversed_triangle"},{"oeis_id":"A000984","relation":"match_row_sums"},{"oeis_id":"A008459","relation":"match_triangle"}],"bfiles":[{"node_id":"n-b13531ad79e7c629","oeis_id":"A000984","target":"row_sums","oeis_offset":0,"first_row":0,"rows_used":200,"terms_matched":15,"oeis_terms_agreeing":28,"oeis_terms_available":28,"term_count":200,"raw_size":12728},{"node_id":"n-b13531ad79e7c629","oeis_id":"A008459","target":"triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":66,"oeis_terms_agreeing":66,"oeis_terms_available":66,"term_count":990,"raw_size":15963},{"node_id":"n-b13531ad79e7c629","oeis_id":"A008459","target":"reversed_triangle","oeis_offset":0,"first_row":0,"rows_used":44,"terms_matched":66,"oeis_terms_agreeing":66,"oeis_terms_available":66,"term_count":990,"raw_size":15963}],"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,  1;\n  2: 1,  4,    1;\n  3: 1,  9,    9,    1;\n  4: 1, 16,   36,   16,     1;\n  5: 1, 25,  100,  100,    25,     1;\n  6: 1, 36,  225,  400,   225,    36,    1;\n  7: 1, 49,  441, 1225,  1225,   441,   49,    1;\n  8: 1, 64,  784, 3136,  4900,  3136,  784,   64,  1;\n  9: 1, 81, 1296, 7056, 15876, 15876, 7056, 1296, 81, 1;\n","recurrence_sentence":"The row polynomials satisfy n*P(n,x) = (2*n-1+(2*n-1)*x)*P(n-1,x) - (n-1-(2*n-2)*x+(n-1)*x^2)*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[n_, x_] := P[n, x] = Expand[Together[((2*n - 1 + (2*n - 1)*x)*P[n - 1, x] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*P[n - 2, x])/(n)]];\nTable[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten","pari":"P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 1 + x; for(n = 2, N, my(i = n + 1); v[i] = ((2*n - 1 + (2*n - 1)*x)*v[i - 1] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*v[i - 2])/(n)); 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":"A008459","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,  1;\n  2: 1,  4,    1;\n  3: 1,  9,    9,    1;\n  4: 1, 16,   36,   16,     1;\n  5: 1, 25,  100,  100,    25,     1;\n  6: 1, 36,  225,  400,   225,    36,    1;\n  7: 1, 49,  441, 1225,  1225,   441,   49,    1;\n  8: 1, 64,  784, 3136,  4900,  3136,  784,   64,  1;\n  9: 1, 81, 1296, 7056, 15876, 15876, 7056, 1296, 81, 1;\n","recurrence_sentence":"The row polynomials satisfy n*P(n,x) = (2*n-1+(2*n-1)*x)*P(n-1,x) - (n-1-(2*n-2)*x+(n-1)*x^2)*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[n_, x_] := P[n, x] = Expand[Together[((2*n - 1 + (2*n - 1)*x)*P[n - 1, x] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*P[n - 2, x])/(n)]];\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 + x; for(n = 2, N, my(i = n + 1); v[i] = ((2*n - 1 + (2*n - 1)*x)*v[i - 1] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*v[i - 2])/(n)); 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":"A008459","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,  1;\n  2: 1,  4,    1;\n  3: 1,  9,    9,    1;\n  4: 1, 16,   36,   16,     1;\n  5: 1, 25,  100,  100,    25,     1;\n  6: 1, 36,  225,  400,   225,    36,    1;\n  7: 1, 49,  441, 1225,  1225,   441,   49,    1;\n  8: 1, 64,  784, 3136,  4900,  3136,  784,   64,  1;\n  9: 1, 81, 1296, 7056, 15876, 15876, 7056, 1296, 81, 1;\n","recurrence_sentence":"Row n lists the coefficients of P(n,x) in descending powers of x, where n*P(n,x) = (2*n-1+(2*n-1)*x)*P(n-1,x) - (n-1-(2*n-2)*x+(n-1)*x^2)*P(n-2,x) for n >= 2, with P(0,x) = 1, P(1,x) = 1 + x.","mathematica":"P[0, x_] := 1;\nP[1, x_] := 1 + x;\nP[n_, x_] := P[n, x] = Expand[Together[((2*n - 1 + (2*n - 1)*x)*P[n - 1, x] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*P[n - 2, x])/(n)]];\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 + x; for(n = 2, N, my(i = n + 1); v[i] = ((2*n - 1 + (2*n - 1)*x)*v[i - 1] - (n - 1 - (2*n - 2)*x + (n - 1)*x^2)*v[i - 2])/(n)); 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-b13531ad79e7c629","steps":[],"edges":[],"text":"A008459"},"headline":"A008459: Square the entries of Pascal's triangle.","chain":null}
