Tell the ans for this
IT SHOULD BE IN STEPS BY STEPS
Attachments:
Answers
Answered by
1
Step-by-step explanation:
2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5…. The sequence is built in the following way: at first the number 1 is written out, then the numbers from 1 to 2, then the numbers from 1 to 3, then the numbers from 1 to 4 and so on.
Find the number on the n-th position of the sequence.
Examples :
Input : n = 3
Output : 2
The 3rd number in the sequence is 2.
Input : 55
Output : 10
Answered by
10
n(A) = 8
- A = { 1 , 2 , 3 , 4 , 5 , 7 , 9 , 11 }
- n(A)
- A = { 1 , 2 , 3 , 4 , 5 , 7 , 9 , 11 }
- n(A) means means number of elements in that set
- . Here , 8 elements are there .
So , n(A) = 8
Similar questions