Others
Maths Puzzle
Numerical Ability
average of natural numbers from 1 to 50
Read Solution (Total 4)
-
- sum of 1 to n natural number=n(n+1)/2
i,e sum 1 of 50 natural number=50(50+1)/2
avg=25*51/50=25.5 - 11 years agoHelpfull: Yes(1) No(1)
- sum of numbers from 1 to 50 is (n(n+1))/2
sum=(50*51)/2=1275
average=1275/50=25.5
so average of natural numbers from 1 to 50 is 25.5 - 11 years agoHelpfull: Yes(0) No(0)
- Average = Total sum/No.of terms
Sum of natural numbers from 1 to 50 = n(n+1)/2 = (50*51)/2
Total number of terms = 50
Average = (50*51)/(2*50) = 51/2 = 25.5 - 11 years agoHelpfull: Yes(0) No(0)
- if they are in A.P directly
average=(first+last term)/2;
average=(50+1)/2=25.5 - 11 years agoHelpfull: Yes(0) No(0)
Others Other Question
Bleak Numbers
In Mathematics each number has one special number, which it supports, chosen as follows. It counts the number of ones in its own binary representation, and adds this count to itself to obtain the value of the number it supports. That is, if j(m) means the number of ones in the binary representation of m, then m supports m+j(m). For example, the number eight (1000 in binary) supports nine, whereas nine supports eleven.
However, in this way not all the numbers get supported; some are left without support, and we call these numbers bleak. For example since one supports two, two supports three and three supports five, there is no number less than four, which would support four, so four is bleak.
Your task is for a given number recognize if it is bleak or supported by some number.
Input
First integer containing the number of test cases, followed by the number to be checked.
Output
For every checked number n write one line containing the word BLEAK if n is bleak or the word SUPPORTED if given n there exists m such that n=m+j(m). In case of wrong input print -999.
Examples
Input:
2,4,9
Q. The total monthly salary of 4 men and 2 women is Rs. 46,000. All men have the same salary and all women have the same salary. If a woman earns Rs. 500 more than a man, the monthly salary of a woman is