- 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

# C program to find Decagonal Number?

A decagonal number is a figurate that was derived using the concept of triangular numbers and square numbers. This extension of number pattern is created using non-rotationally symmetrical numbers. This nested decagon oriented number is given by the number of dots in the number of nested decagons that are created.

For example, for 3rd decagonal number 3 decagonal figures are nest each with iX time the number of sides in the decagon. As shown in figure −

Side in 1st Outer figure = 30

Side in 2nd Outer figure = 20

Side in inner figure = 10

Sides common in all = 6+2

Total = 30+20+10-(6+2) = 52

This result is generalized using the formula 4n2 - 3n.

This given the decagonal number for n

- Related Questions & Answers
- Program to find Star number in C++
- Program to find Cullen Number in C++
- C/C++ Program to Find the Number Occurring Odd Number of Times?
- Program to find the Hidden Number in C++
- Program to find nth ugly number in C++
- C++ program to find Nth Non Fibonacci Number
- C++ Program to find number of working components
- C++ Program to Find Largest Number Among Three Numbers
- Program to find Nth Even Fibonacci Number in C++
- C++ Program to Find Factorial of a Number using Iteration
- C++ Program to Find Factorial of a Number using Recursion
- C++ Program to Find Maximum Number of Edge Disjoint Paths
- C program to Find the Largest Number Among Three Numbers
- C++ program to find the Parity of a number efficiently
- C program to find Fibonacci series for a given number

Advertisements