AngouriMath
IversonSum
Description
Summary
A sum of an Iverson bracket over a range of whole numbers is a count, written in closed
form: how many whole numbers of the range satisfy the statement. A product of brackets is
the bracket of the conjunction.
sum(iverson(2 divides k or 3 divides k), k, 1, 1000) is 667 .
form: how many whole numbers of the range satisfy the statement. A product of brackets is
the bracket of the conjunction.
Remarks
point
and satisfying the other conditions: in a nested sum that is what the next sum out counts.
A comparison linear in the index, with a numeric slope, bounds it from one side, and so
does a membership in an interval. A divisibility of a linear function of the index with
whole coefficients fixes its residue, and several residues combine into one class or
none, by the Chinese remainder theorem. A conjunct that does not mention the index is a
factor, and so is a linear function of it being whole, which depends only on its constant
term. What is left is the number of whole numbers from
range. A bound that is not a number is read as real, as a bound of the range that is not a
number is read as whole.
the range less
Mackey's §8.7.4 Try 1.
https://github.com/asc-community/AngouriMath/issues/1478
Members
ClosedForm(AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity)
MethodFlatten(AngouriMath.Entity,System.Collections.Generic.List{AngouriMath.Entity})
MethodResidue(AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity.Variable)
MethodRoot(AngouriMath.Entity,AngouriMath.Entity.Variable)
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online