TCS
Company
if n is the sum of two odd consecutive integers and less than 100 then find the maximum value of n
Read Solution (Total 8)
-
- 47,49
47+49=96 - 11 years agoHelpfull: Yes(14) No(0)
- maximum it will be 100
so 50+50=100
taking that into consideration two closest cosequitive odds closer to 50 are 47 and 49......so 47+49=96 - 11 years agoHelpfull: Yes(3) No(0)
- 47+49=96.................................
- 11 years agoHelpfull: Yes(1) No(0)
- let take the two odd numbers as 2n+1 and 2n-1(because even no is 2n so odd will be one after it or one before it).
sum=(2n+1)+(2n-1)=4n------ (1)
but according to question should be less than 100
100>4n
=>25>n
but n should be lesser than 25 b/c should be less than 100 so we can take the most suitable value 24.
put 24 in eqation (1)
(2*24+1)+(2*24-1)=96
so 96 is the ans... - 10 years agoHelpfull: Yes(1) No(0)
- we have to find n1+n2=n
so let n1=43 and n2=47 then n1+n2=43+47 - 11 years agoHelpfull: Yes(0) No(1)
- 43, 45
Let odd integers be x, x+2
x+(x+2) - 11 years agoHelpfull: Yes(0) No(2)
- (2n+1)+(2n-1)< 100
4n - 11 years agoHelpfull: Yes(0) No(2)
- Two consecutive integers=(2n-1)(2n+1)
(2n-1+2n+1) - 11 years agoHelpfull: Yes(0) No(0)
TCS Other Question