answersLogoWhite

0

You don't have to reduce the steps.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you get the sum of consecutive cubed numbers?

The sum of the first n cubed numbers is: [n*(n+1)/2]2 which is the same as the square of the sum of the first n numbers.


How do you find the average of n numbers?

The average of n numbers = (sum of n numbers) / (count of n numbers).


What is the c plus plus program for printing sum to n natural numbers?

main() { int i, n, sum=0; cout<<"Enter the limit"; cin>>n; for(i=0;i<=n;i++) sum=sum+i; cout<<"sum of "<<n<<" natural numbers ="<<sum; getch(); }


Find the mean of n natural numbers?

Mean = (sum of the n numbers)/n


How do you calculate the sum of all numbers from 1 through 61?

The sum of the first "n" numbers is equal to n(n+1)/2.


What 2 numbers sum is 832?

i need 2 numbers whose sum is 832AnswerThe numbers are n and (832 - n) where n is any number from 0 to 416.


What is formula to find sum of n even numbers?

There is no formula that will sum n even numbers without further qualifications: for example, n even numbers in a sequence.


What is the Sum of the 1st 50 odd numbers?

The sum of the first 50 odd numbers is 2,500. This can be calculated using the formula for the sum of the first ( n ) odd numbers, which is ( n^2 ). For ( n = 50 ), the sum equals ( 50^2 = 2,500 ).


What is the Sum of first n natural numbers?

int sum = 0; int i; for(i = 0; i < n; ++i) { sum += i; }


Algorithm to find the sum of even numbers between 1 to 10?

sum = 0 for(n = 0; n <= 10; n += 2) sum += n;


C program to find sum of n number using for loop?

#include<stdio.h> void main() { long long int sum=0,n,i,b; printf("How many numbers do you want to add?\n"); scanf("%lld",&n); printf("Enter those %lld numbers\n",n); for(i=0;i<n;i++) { scanf("%lld",&b); sum=sum+b; } printf("Sum of all the numbers you entered is %lld",sum); getch(); }


What is the sum of the numbers from 1 to 100?

Sum of first n natural numbers is (n) x (n + 1)/2 Here we have the sum = 100 x (101)/2 = 50 x 101 = 5050