Menu Close

The-sum-of-integers-from-1-to-100-that-are-divisible-by-2-or-5-is-




Question Number 43765 by peter frank last updated on 15/Sep/18
The sum of integers from 1 to 100 that  are divisible by 2 or 5 is _____.
Thesumofintegersfrom1to100thataredivisibleby2or5is_____.
Answered by math1967 last updated on 15/Sep/18
sum of divisible by 2=S_2   sum of divisible by 5=S_5   sum of divisible by both 2 and5=S_(10)   ∴n(S_2 ∪S_5 )=n(S_2 )+n(S_5 )−n(S_2 ∩S_5 )  ={2+4+...100}+{5+10+..100}                     −{10+20+...100}  =((50)/2)(2×2+49×2)+((20)/2)(2×5+19×5)                     −((10)/2)(2×10+9×10)  [using S_n =(n/2){2a+(n−1)×d}]  =2550+1050−550=3050Ans
sumofdivisibleby2=S2sumofdivisibleby5=S5sumofdivisiblebyboth2and5=S10n(S2S5)=n(S2)+n(S5)n(S2S5)={2+4+100}+{5+10+..100}{10+20+100}=502(2×2+49×2)+202(2×5+19×5)102(2×10+9×10)[usingSn=n2{2a+(n1)×d}]=2550+1050550=3050Ans

Leave a Reply

Your email address will not be published. Required fields are marked *