![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Write the first five terms of each of the following sequences whose nth terms are:
$ a_{n}=\frac{n(n-2)}{2} $
Given:
\( a_{n}=\frac{n(n-2)}{2} \)
To do:
We have to find the first five terms of the given sequence.
Solution:
$a_n=\frac{n(n-2)}{2}$
Taking $n=1$, we get
$a_1=\frac{n(n-2)}{2}=\frac{1(1-2)}{2}=\frac{1(-1)}{2}=\frac{-1}{2}$
Taking $n=2$, we get
$a_2=\frac{n(n-2)}{2}=\frac{2(2-2)}{2}=\frac{2(0)}{2}=0$
Taking $n=3$, we get
$a_3=\frac{n(n-2)}{2}=\frac{3(3-2)}{2}=\frac{3(1)}{2}=\frac{3}{2}$
Taking $n=4$, we get
$a_4=\frac{n(n-2)}{2}=\frac{4(4-2)}{2}=\frac{4(2)}{2}=4$
Taking $n=5$, we get
$a_5=\frac{n(n-2)}{2}=\frac{5(5-2)}{2}=\frac{5(3)}{2}=\frac{15}{2}$
Hence, the first five terms of the given sequence are $\frac{-1}{2}, 0, \frac{3}{2}, 4$ and $\frac{15}{2}$.
Advertisements