![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}=(-1)^{n} \cdot 2^{n} $
Given:
\( a_{n}=(-1)^{n} \cdot 2^{n} \)
To do:
We have to find the first five terms of the given sequence.
Solution:
$a_n=(-1)^{n} \cdot 2^{n}$
Taking $n=1$, we get
$a_1=(-1)^{1} \cdot 2^{1}=(-1)2=-2$
Taking $n=2$, we get
$a_2=(-1)^{2} \cdot 2^{2}=1(4)=4$
Taking $n=3$, we get
$a_3=(-1)^{3} \cdot 2^{3}=(-1)\times8=-8$
Taking $n=4$, we get
$a_4=(-1)^{4} \cdot 2^{4}=1\times16=16$
Taking $n=5$, we get
$a_5=(-1)^{5} \cdot 2^{5}=(-1)\times32=-32$
Hence, the first five terms of the given sequence are $-2, 4, -8, 16$ and $-32$.
Advertisements