check the appropriate cell/s where the each of the given numbers belongs
Answers
Answered by
1
Answer:
The upper half of the rectangle is a triangle:
1 ----->1
2 3 ----->2
4 5 6 ----->3
7 8 9 10 ----->4
and the numbers on the right side (1, 3, 6, 10) are called triangular numbers. The inverse formula there (under the subtitle "Triangular roots and tests for triangular numbers") can be used for your problem:
def group(x, number):
if number <= x^2 / 2 :
return ceiling( (sqrt(8*number+1) - 1) / 2 )
else:
return 2*x - group(x, x^2+1
Answered by
0
Answer:
dubai police fine discount is the first one in dubai for me to work with and
Similar questions