# Category Archives: Mathematical

## Enneacontagon Number

Given a number N, the task is to find Nth Enneacontagon number. A Enneacontagon number. is class of figurate number. It has 90 – sided… Read More »

## Check whether a number is Good prime or not

Given a positive integer N, the task is to check whether the given number is good prime or not. If the given number is good… Read More »

## Check if N is a Balanced Prime number or not

Given a positive integer N, the task is to check if N is a Balanced Prime number or not. In number theory, a Balanced Prime… Read More »

## Program to check if N is a Tridecagonal Number or not

Given an integer N, the task is to check if it is a Tridecagonal number or not. Tridecagon number is a thirteen-sided polygon. The first… Read More »

## Triacontakaidigon Number

Given a number N, the task is to find Nth Triacontakaidigon number. A Triacontakaidigon number is class of figurate number. It has 32 – sided… Read More »

## Program to check if N is a Icosihenagonal number

Given an integer N, the task is to check if it is a Icosihenagonal number or not. Icosihenagonal number is class of figurate number. It… Read More »

## Program to check if N is a Icositrigonal number

Given an integer N, the task is to check if it is an Icositrigonal number or not. Icositrigonal number is a class of figurate number.… Read More »

## Icosihexagonal Number

Given a number N, the task is to find Nth Icosihexagon number. An Icosihexagon number is class of figurate number. It has 26 – sided… Read More »

## Icosikaioctagon or Icosioctagon Number

Given a number N, the task is to find Nth Icosioctagon number. An Icosioctagon number is class of figurate number. It has 28 – sided… Read More »

## Octacontagon Number

Given a number N, the task is to find Nth Octacontagon number. A Octacontagon numberr is class of figurate number. It has 80 – sided… Read More »

## Hectagon Number

Given a number N, the task is to find Nth hectagon number. A hectagon number is class of figurate number. It has 100 – sided… Read More »

## Tetracontagon Number

Given a number N, the task is to find Nth Tetracontagon number. A Tetracontagon number is class of figurate number. It has 40 – sided… Read More »

## Pentacontagon number

Given a number N, the task is to find Nth Pentacontagon number. A Pentacontagon number is class of figurate number. It has 50 – sided… Read More »

## Count number of triangles possible for the given sides range

Given four integers A, B, C, and D, the task is to find the number of distinct sets (X, Y, and Z) where X, Y… Read More »

## Count of index pairs in array whose range product is a positive integer

Given an array A of non-zero integers, the task is to find the number of pairs (l, r) where (l <= r) such that A[l]*A[l+1]*A[l+2]….A[r]… Read More »