n + 1
16x(1+a)
sum= answer of an addition question.. so the number of the sum is the answer.
Sum = 0 For N = 1 to 10 Sum = Sum + 2*N Next N Print Sum
17x+(1+x)
public static final int getSum(final int n) { int sum = 0; for(int i = 1; i <= n; ++i) { sum += i; } return sum; }
sum=0 i=1 echo "Enter any number " read num while [ $i -le 10 ] do sum=`expr $num \* $i` i=`expr $i + 1` echo "Table of a number is " $sum done
a+21
You write the number as a sum of decreasing powers of 2. Then for each power, you write 1 if it is present in the sum and 0 if not.So, 3 = 2 + 1 = 2^1 + 2^0and so the binary for 3 (in decimal) is 11.
If you replace some number for "p", you can calculate the sum. Otherwise, just write it as "p+9" - you can't simplify this.If you replace some number for "p", you can calculate the sum. Otherwise, just write it as "p+9" - you can't simplify this.If you replace some number for "p", you can calculate the sum. Otherwise, just write it as "p+9" - you can't simplify this.If you replace some number for "p", you can calculate the sum. Otherwise, just write it as "p+9" - you can't simplify this.
The number is 6.
n+3 the sum of a number and three means a number plus three.
N + 15