Step-by-step derivation
S001 · implies
Before
n=21≥0; multiplication commutes
After
group the finite product by the number of y choices
Conditions: none
Choose x or y in each factor and group by the number of y choices; count coefficients as integers first.
Step identifiers and dependencies
Rule: commutative_product · Uses: G001
S002 · calculation
Before
x+y := sum(-3, 1)
After
x+y = -2
Conditions: none
First calculate the sum directly.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · implies
Before
(x+y)^n: (-2)^21
After
(x+y)^n = -2097152
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S002
S004 · implies
Before
choose 0 positions out of 21
After
C(21,0)=51090942171709440000/(1·51090942171709440000)=1
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S003
S005 · implies
Before
x^21: (-3)^21
After
x^21 = -10460353203
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S004
S006 · implies
Before
y^0: (1)^0
After
y^0 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S005
S007 · calculation
Before
C·x power (k=0) := mul(1, -10460353203)
After
C·x power (k=0) = -10460353203
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
term[0] := mul(-10460353203, 1)
After
term[0] = -10460353203
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
choose 1 positions out of 21
After
C(21,1)=51090942171709440000/(1·2432902008176640000)=21
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S008
S010 · implies
Before
x^20: (-3)^20
After
x^20 = 3486784401
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S009
S011 · implies
Before
y^1: (1)^1
After
y^1 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S010
S012 · calculation
Before
C·x power (k=1) := mul(21, 3486784401)
After
C·x power (k=1) = 73222472421
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
term[1] := mul(73222472421, 1)
After
term[1] = 73222472421
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · implies
Before
choose 2 positions out of 21
After
C(21,2)=51090942171709440000/(2·121645100408832000)=210
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S013
S015 · implies
Before
x^19: (-3)^19
After
x^19 = -1162261467
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S014
S016 · implies
Before
y^2: (1)^2
After
y^2 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S015
S017 · calculation
Before
C·x power (k=2) := mul(210, -1162261467)
After
C·x power (k=2) = -244074908070
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
term[2] := mul(-244074908070, 1)
After
term[2] = -244074908070
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · implies
Before
choose 3 positions out of 21
After
C(21,3)=51090942171709440000/(6·6402373705728000)=1330
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S018
S020 · implies
Before
x^18: (-3)^18
After
x^18 = 387420489
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S019
S021 · implies
Before
y^3: (1)^3
After
y^3 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S020
S022 · calculation
Before
C·x power (k=3) := mul(1330, 387420489)
After
C·x power (k=3) = 515269250370
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
term[3] := mul(515269250370, 1)
After
term[3] = 515269250370
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · implies
Before
choose 4 positions out of 21
After
C(21,4)=51090942171709440000/(24·355687428096000)=5985
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S023
S025 · implies
Before
x^17: (-3)^17
After
x^17 = -129140163
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S024
S026 · implies
Before
y^4: (1)^4
After
y^4 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S025
S027 · calculation
Before
C·x power (k=4) := mul(5985, -129140163)
After
C·x power (k=4) = -772903875555
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
term[4] := mul(-772903875555, 1)
After
term[4] = -772903875555
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · implies
Before
choose 5 positions out of 21
After
C(21,5)=51090942171709440000/(120·20922789888000)=20349
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S028
S030 · implies
Before
x^16: (-3)^16
After
x^16 = 43046721
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S029
S031 · implies
Before
y^5: (1)^5
After
y^5 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S030
S032 · calculation
Before
C·x power (k=5) := mul(20349, 43046721)
After
C·x power (k=5) = 875957725629
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · calculation
Before
term[5] := mul(875957725629, 1)
After
term[5] = 875957725629
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S032
S034 · implies
Before
choose 6 positions out of 21
After
C(21,6)=51090942171709440000/(720·1307674368000)=54264
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S033
S035 · implies
Before
x^15: (-3)^15
After
x^15 = -14348907
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S034
S036 · implies
Before
y^6: (1)^6
After
y^6 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S035
S037 · calculation
Before
C·x power (k=6) := mul(54264, -14348907)
After
C·x power (k=6) = -778629089448
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S036
S038 · calculation
Before
term[6] := mul(-778629089448, 1)
After
term[6] = -778629089448
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · implies
Before
choose 7 positions out of 21
After
C(21,7)=51090942171709440000/(5040·87178291200)=116280
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S038
S040 · implies
Before
x^14: (-3)^14
After
x^14 = 4782969
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S039
S041 · implies
Before
y^7: (1)^7
After
y^7 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S040
S042 · calculation
Before
C·x power (k=7) := mul(116280, 4782969)
After
C·x power (k=7) = 556163635320
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
term[7] := mul(556163635320, 1)
After
term[7] = 556163635320
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · implies
Before
choose 8 positions out of 21
After
C(21,8)=51090942171709440000/(40320·6227020800)=203490
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S043
S045 · implies
Before
x^13: (-3)^13
After
x^13 = -1594323
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S044
S046 · implies
Before
y^8: (1)^8
After
y^8 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S045
S047 · calculation
Before
C·x power (k=8) := mul(203490, -1594323)
After
C·x power (k=8) = -324428787270
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
term[8] := mul(-324428787270, 1)
After
term[8] = -324428787270
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · implies
Before
choose 9 positions out of 21
After
C(21,9)=51090942171709440000/(362880·479001600)=293930
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S048
S050 · implies
Before
x^12: (-3)^12
After
x^12 = 531441
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S049
S051 · implies
Before
y^9: (1)^9
After
y^9 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S050
S052 · calculation
Before
C·x power (k=9) := mul(293930, 531441)
After
C·x power (k=9) = 156206453130
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · calculation
Before
term[9] := mul(156206453130, 1)
After
term[9] = 156206453130
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · implies
Before
choose 10 positions out of 21
After
C(21,10)=51090942171709440000/(3628800·39916800)=352716
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S053
S055 · implies
Before
x^11: (-3)^11
After
x^11 = -177147
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S054
S056 · implies
Before
y^10: (1)^10
After
y^10 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S055
S057 · calculation
Before
C·x power (k=10) := mul(352716, -177147)
After
C·x power (k=10) = -62482581252
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · calculation
Before
term[10] := mul(-62482581252, 1)
After
term[10] = -62482581252
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · implies
Before
choose 11 positions out of 21
After
C(21,11)=51090942171709440000/(39916800·3628800)=352716
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S058
S060 · implies
Before
x^10: (-3)^10
After
x^10 = 59049
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S059
S061 · implies
Before
y^11: (1)^11
After
y^11 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S060
S062 · calculation
Before
C·x power (k=11) := mul(352716, 59049)
After
C·x power (k=11) = 20827527084
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · calculation
Before
term[11] := mul(20827527084, 1)
After
term[11] = 20827527084
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S062
S064 · implies
Before
choose 12 positions out of 21
After
C(21,12)=51090942171709440000/(479001600·362880)=293930
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S063
S065 · implies
Before
x^9: (-3)^9
After
x^9 = -19683
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S064
S066 · implies
Before
y^12: (1)^12
After
y^12 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S065
S067 · calculation
Before
C·x power (k=12) := mul(293930, -19683)
After
C·x power (k=12) = -5785424190
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
term[12] := mul(-5785424190, 1)
After
term[12] = -5785424190
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · implies
Before
choose 13 positions out of 21
After
C(21,13)=51090942171709440000/(6227020800·40320)=203490
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S068
S070 · implies
Before
x^8: (-3)^8
After
x^8 = 6561
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S069
S071 · implies
Before
y^13: (1)^13
After
y^13 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S070
S072 · calculation
Before
C·x power (k=13) := mul(203490, 6561)
After
C·x power (k=13) = 1335097890
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S071
S073 · calculation
Before
term[13] := mul(1335097890, 1)
After
term[13] = 1335097890
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S072
S074 · implies
Before
choose 14 positions out of 21
After
C(21,14)=51090942171709440000/(87178291200·5040)=116280
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S073
S075 · implies
Before
x^7: (-3)^7
After
x^7 = -2187
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S074
S076 · implies
Before
y^14: (1)^14
After
y^14 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S075
S077 · calculation
Before
C·x power (k=14) := mul(116280, -2187)
After
C·x power (k=14) = -254304360
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S076
S078 · calculation
Before
term[14] := mul(-254304360, 1)
After
term[14] = -254304360
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S077
S079 · implies
Before
choose 15 positions out of 21
After
C(21,15)=51090942171709440000/(1307674368000·720)=54264
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S078
S080 · implies
Before
x^6: (-3)^6
After
x^6 = 729
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S079
S081 · implies
Before
y^15: (1)^15
After
y^15 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S080
S082 · calculation
Before
C·x power (k=15) := mul(54264, 729)
After
C·x power (k=15) = 39558456
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S081
S083 · calculation
Before
term[15] := mul(39558456, 1)
After
term[15] = 39558456
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S082
S084 · implies
Before
choose 16 positions out of 21
After
C(21,16)=51090942171709440000/(20922789888000·120)=20349
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S083
S085 · implies
Before
x^5: (-3)^5
After
x^5 = -243
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S084
S086 · implies
Before
y^16: (1)^16
After
y^16 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S085
S087 · calculation
Before
C·x power (k=16) := mul(20349, -243)
After
C·x power (k=16) = -4944807
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S086
S088 · calculation
Before
term[16] := mul(-4944807, 1)
After
term[16] = -4944807
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S087
S089 · implies
Before
choose 17 positions out of 21
After
C(21,17)=51090942171709440000/(355687428096000·24)=5985
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S088
S090 · implies
Before
x^4: (-3)^4
After
x^4 = 81
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S089
S091 · implies
Before
y^17: (1)^17
After
y^17 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S090
S092 · calculation
Before
C·x power (k=17) := mul(5985, 81)
After
C·x power (k=17) = 484785
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S091
S093 · calculation
Before
term[17] := mul(484785, 1)
After
term[17] = 484785
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S092
S094 · implies
Before
choose 18 positions out of 21
After
C(21,18)=51090942171709440000/(6402373705728000·6)=1330
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S093
S095 · implies
Before
x^3: (-3)^3
After
x^3 = -27
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S094
S096 · implies
Before
y^18: (1)^18
After
y^18 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S095
S097 · calculation
Before
C·x power (k=18) := mul(1330, -27)
After
C·x power (k=18) = -35910
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S096
S098 · calculation
Before
term[18] := mul(-35910, 1)
After
term[18] = -35910
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S097
S099 · implies
Before
choose 19 positions out of 21
After
C(21,19)=51090942171709440000/(121645100408832000·2)=210
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S098
S100 · implies
Before
x^2: (-3)^2
After
x^2 = 9
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S099
S101 · implies
Before
y^19: (1)^19
After
y^19 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S100
S102 · calculation
Before
C·x power (k=19) := mul(210, 9)
After
C·x power (k=19) = 1890
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S101
S103 · calculation
Before
term[19] := mul(1890, 1)
After
term[19] = 1890
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S102
S104 · implies
Before
choose 20 positions out of 21
After
C(21,20)=51090942171709440000/(2432902008176640000·1)=21
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S103
S105 · implies
Before
x^1: (-3)^1
After
x^1 = -3
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S104
S106 · implies
Before
y^20: (1)^20
After
y^20 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S105
S107 · calculation
Before
C·x power (k=20) := mul(21, -3)
After
C·x power (k=20) = -63
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S106
S108 · calculation
Before
term[20] := mul(-63, 1)
After
term[20] = -63
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S107
S109 · implies
Before
choose 21 positions out of 21
After
C(21,21)=51090942171709440000/(51090942171709440000·1)=1
Conditions: none
Count each k-position subset once, dividing out reorderings inside each of the two groups.
Step identifiers and dependencies
Rule: subset_count · Uses: G001, S108
S110 · implies
Before
x^0: (-3)^0
After
x^0 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S109
S111 · implies
Before
y^21: (1)^21
After
y^21 = 1
Conditions: none
Evaluate the finite product for a nonnegative integer exponent; the zeroth power uses the multiplicative identity.
Step identifiers and dependencies
Rule: integer_power · Uses: G001, S110
S112 · calculation
Before
C·x power (k=21) := mul(1, 1)
After
C·x power (k=21) = 1
Conditions: none
Multiply the coefficient by the x power first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S111
S113 · calculation
Before
term[21] := mul(1, 1)
After
term[21] = 1
Conditions: none
Multiply by the y power, preserving parentheses around a negative base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S112
S114 · calculation
Before
expanded sum := sum(-10460353203, 73222472421, -244074908070, 515269250370, -772903875555, 875957725629, -778629089448, 556163635320, -324428787270, 156206453130, -62482581252, 20827527084, -5785424190, 1335097890, -254304360, 39558456, -4944807, 484785, -35910, 1890, -63, 1)
After
expanded sum = -2097152
Conditions: none
Sum every displayed k term, not merely the endpoints.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S113
S115 · implies
Before
direct=-2097152; expanded=-2097152
After
identity holds: Yes
Conditions: none
The two calculation paths agree on this finite instance of the identity.
Step identifiers and dependencies
Rule: finite_expansion_evaluation · Uses: G001, S114