Number List | Count
Counting Calculator
Counting with a start and an end value. The number of steps and values, the total sum and the last value will be calculated. It will be counted from the start to the end value in the given step size. The number of steps tells, how often it is jumped to the next value, as long as this is within the counting range. The number of values is one more. At the sum, every counted value is added up. The last value can be the end value or be lower, depending on step size. It is rounded at six decimal places.
Example: if you count from 1 to 100 with the step size 2, it is counted 1, 3, 5, 7, ... These are 49 steps, the total sum is 2500 and the last value is 99.
Any number can be entered for the start value, end value, and step size. Natural numbers are usually used for counting, such as 1, 2, 3, and so on. Counting in larger increments is also common, for example, in steps of two, such as 2, 4, 6, and so on. However, it is also possible to count with decimal fractions, for example, from 3.5 to 4.5 in steps of 0.01. This would result in 100 steps and 101 values, which would add up to 404.
Negative numbers can also be used, for example, from -10 to 10 in steps of 0.5. 41 values would then be counted in 40 steps. In this case, the sum is zero, since the negative and positive counted values exactly cancel each other out.
Counting backward is also possible, i.e., from a start value that is greater than the end value. In this case, the step size must be negative.
What's not possible, of course, is counting forward with a negative step size, counting backward with a positive step size, or with a step size of zero. Then the list would be infinitely long, the program will abort in this case.