mu sigma
Company
Numerical Ability
Algebra
Set x1 to 1;
Set x2 to 1;
While(x1 < 10)
Set x2 = x2 + x1 + 1;
Set x1 = x1 + 1;
write x2
(a) Arithmetic progression
(b) Tribonacci series
(c) Fibonacci series
(d) Triangular numbers
Read Solution (Total 14)
-
- Write x2 will print the following numbers one by one,
1 3 6 10 15 21 28 36 45 55, here the operation ceases since x1 reaches the value 10.
The above series of numbers form the Triangular series 0 1 3 6 10 15 21 28 36 45 55 66 78 91 ...
Thus the correct option is D. - 9 years agoHelpfull: Yes(7) No(0)
- traingular
- 9 years agoHelpfull: Yes(2) No(1)
- option d-Triangular numbers
https://en.wikipedia.org/wiki/Triangular_number - 9 years agoHelpfull: Yes(1) No(0)
- TRIANGULAR NUMBERS
OPTION D IS THE CORRECT ANSWER - 9 years agoHelpfull: Yes(1) No(0)
- d is the correct ans
- 9 years agoHelpfull: Yes(1) No(0)
- option a-arithmetic progression
- 9 years agoHelpfull: Yes(0) No(9)
- x2=
1
3
6
10.......so ,they are triangular numbers - 9 years agoHelpfull: Yes(0) No(0)
- since x+1 is incrementing its values by 1 each time and the values of the x2 is incrementing with 1 3 6 so it follows triangular series
- 9 years agoHelpfull: Yes(0) No(0)
- But it does not print 1 as x2 set is 3 when 1
- 8 years agoHelpfull: Yes(0) No(2)
- the series for x2 is 1,3,6 which is a triangular number series.so option d is correct.
- 7 years agoHelpfull: Yes(0) No(0)
- (a) as sequenvce is 3 6 10 15
- 7 years agoHelpfull: Yes(0) No(0)
- arithmetic progression
- 6 years agoHelpfull: Yes(0) No(2)
- Fibonaccci series c
- 6 years agoHelpfull: Yes(0) No(0)
- airthmetic progression
- 6 years agoHelpfull: Yes(0) No(0)
mu sigma Other Question