- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# The first and the last terms of an AP are 17 and 350 respectively. If the common difference is 9, how many terms are there and what is their sum?

Given:

The first and the last terms of an A.P. are 17 and 350 respectively and the common difference $d=9$.

To do:

We have to find the numbers of the terms in the given A.P. and the sum of the terms.

Solution:

Let the first term of the given A.P. be $a$, common difference $d$, the last term $l$ and the number of terms $n$.

We know that,

$l=a+( n-1) d$

On substituting $l=350,\ a=17\ and\ d=9$, we get,

$350=17+( n-1)9$

$\Rightarrow n-1=\frac{350-17}{9}$

$={333}{9}$

$=37$

This implies,

$n=37+1=38$

The sum of $n$ terms in an A.P.

$S_{n}=\frac{n}{2}(a+l)$

$=\frac{38}{2}(17+350)$

$=19(367)$

$=6973$

Hence, the given A.P. has 38 terms and the sum of its terms is 6973.

- Related Questions & Answers
- Find the Number of quadruples where the first three terms are in AP and last three terms are in GP using C++
- Common Terms Used in Lighting and Illumination
- Find if a number is part of AP whose first element and difference are given using C++.
- Basic Terms in Electrical Machine and their Definition
- What are the terms consent, free consent, coercion, undue influence, fraud and misrepresentation?
- What do the terms copay, Coinsurance and Deductibles mean?
- What are the terms used in Merger & Acquisition?
- Define the terms acquisition, takeover, merger and amalgamation
- What are some Information Security Terms?
- What is data storage? the terms data objects, variables, and constants concerning data storage?
- What are the related terms for Privacy in Information Security?
- C++ program to check if first and the last characters of string are equal
- Mathematical Logical Terms and Definitions
- Find Pth term of a GP if Mth and Nth terms are given in C++
- What are the basic terms used in cryptography in information security?
- Sum of the first N terms of the series 2,10, 30, 68,…. in C programming

Advertisements