Coders Packet

Number Series in C++

By Bhavesh Pant

Number series are various types of sequences that exist in a specific pattern and/or are subjected to certain conditions.

Number series are various types of sequences that exist in a specific pattern and/or are subjected to certain conditions. There exist numerous types of number series like even/odd numbers, Fibonacci series, etc. In this project, we have covered a few of such number series, as follows:

1) Series of even numbers up to N: 
For example: 2, 4, 6, 8, 10,.....N

2) Series of even numbers up to N: 
For example: 1, 3, 5, 7, 9,.....N

3) Series of the cube of numbers up to N: 
For example: 1, 8, 27, 64, 125,.....N

4) Fibonacci series up to N: 
For example: 0, 1, 1, 2, 3,.....N

5) Palindrome number: 

6) Series of numbers up to N: 
For example: 1, 2, 3, 4, 5,.....N

7) Series of the prime numbers up to N: 
For example: 2, 3, 5, 7,.....N

8) Series of the square of numbers up to N: 
For example: 1, 4, 9, 16, 25,.....N

Download Complete Code

Comments

No comments yet