If the sum of the first n integers is 15. What is n? (use Gauss method)
A
7, 5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
6, -5
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
3, -5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2, 0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C 6, -5 Using Gauss formula, Sn=n2(n+1) 15=n2(n+1) 30=n(n+1) 30=n2+n ....... (1) By factorization we can write equation (1) as n2−6n+5n−30=0 n(n−6)+5(n−6)=0 n=6,−5 ∴ The n integers will start from -5 to 6.