743 views
0 votes
0 votes
In a set of 500 first odd natural numbers. The total number divisible by 3 or 5 are

1 Answer

0 votes
0 votes
let A = set..div by 3

B : set..div by 5

A^B : div by both 3 and 5

A = 3, 9, 15.....495, sum1 = n/2(first+last)(WE CAN'T TAKE 6,12...THESE ARE EVEN)

B= 5, 15, 25.....495 calculate sum2

A^B = 15,45,..... 495calculate sum3

use AUB (div by 3 or 5 )= sum1 + sum2 - sum3

Related questions

0 votes
0 votes
1 answer
1
Vashishtha asked Sep 9, 2023
438 views
A man wrote all the natural numbers starting from 1 in a series. What will be the 50th digit of the number?a) 1 c) 2b) 3 d) 4
0 votes
0 votes
1 answer
2
vanshikhahere asked Sep 8, 2023
346 views
A starts a business with a capital of 1200. B and C join with investments after 3 and 6 months respectively. If at the end of a year, the profit is divided in the ratio 2...
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4