Rinish Patidar has Published 56 Articles

Centered Pentadecagonal Number

Rinish Patidar

Rinish Patidar

Updated on 27-Sep-2023 16:04:39

115 Views

The problem includes printing the N-th centered pentadecagonal number for any input number N. A centered pentadecagonal number is a number that can be represented in the form of a figure with a dot in the centre and surrounded by successive layers of the pentadecagon i.e. 15-sided polygon. Here the ... Read More

Centered Octagonal Number

Rinish Patidar

Rinish Patidar

Updated on 27-Sep-2023 15:51:40

119 Views

The problem statement includes printing the N-th centered octagonal number for some positive integer N, which will be given by the user. A centered octagonal number is a type of number which can be represented in a pattern of figures. Every centered octagonal number can be represented as a dot ... Read More

Centered Octadecagonal Number

Rinish Patidar

Rinish Patidar

Updated on 27-Sep-2023 15:43:03

65 Views

The problem includes to print the N-th centered octadecagonal number, where N will be given as an input. A centered octadecagonal number is a type of figurative number which is represented as a dot in the centre surrounded by the successive layers of the octadecagon. An octadecagon is a polygon ... Read More

Centered nonadecagonal number

Rinish Patidar

Rinish Patidar

Updated on 27-Sep-2023 15:36:15

55 Views

The problem statement includes printing of the N-th centered nonadecagonal number for any positive value of N. A centered nonadecagonal numbers are numbers which are represented in a particular pattern of figure. This number can be represented in a figure as a dot in the centre surrounded by the ... Read More

Centered dodecahedral number

Rinish Patidar

Rinish Patidar

Updated on 27-Sep-2023 15:33:16

77 Views

The problem statement says to print the N-th centered dodecahedral number for any positive value of N which will be the user input. A centered dodecahedral number is a number that can be represented in a particular pattern of figure. A dodecahedron is a three-dimensional figure in mathematics which has ... Read More

Centered cube number

Rinish Patidar

Rinish Patidar

Updated on 27-Sep-2023 11:22:35

95 Views

The problem statement includes printing the N-th centered cube number for some positive value of N, which will be the user input. A centered cube number is the number of points in a three-dimensional pattern created by a point surrounded by concentric cubical layers of points, with i^2 points on ... Read More

Odd numbers in N-th row of Pascal’s Triangle

Rinish Patidar

Rinish Patidar

Updated on 28-Aug-2023 20:52:29

95 Views

The problem statement includes counting the odd numbers in N−th row of Pascal’s triangle. A pascal’s triangle is a triangular array where each row represents the binomial coefficients in the expansion of binomial expression. The Pascal’s triangle is demonstrated as below: ... Read More

Moser-de Bruijn Sequence

Rinish Patidar

Rinish Patidar

Updated on 28-Aug-2023 20:51:30

88 Views

The problem statement includes printing the first N terms of the Moser−de Bruijn Sequence where N will be given in the user input. The Moser−de Bruijn sequence is a sequence consisting of integers which are nothing but the sum of the different powers of 4 i.e. 1, 4, 16, 64 ... Read More

Vantieghems Theorem for Primality Test

Rinish Patidar

Rinish Patidar

Updated on 28-Aug-2023 18:09:42

50 Views

The problem statement includes using Vantieghems theorem for primality test i.e. we will check for a positive number N which will be user input and print if the number is a prime number or not using the Vantieghems theorem. Vantieghem’s Theorem The Vantieghems theorem for primality states that a ... Read More

Sum of Range in a Series of First Odd then Even Natural Numbers

Rinish Patidar

Rinish Patidar

Updated on 28-Aug-2023 17:59:41

74 Views

The problem statement includes finding the sum of range in a series of first odd numbers then even natural numbers up to N. The sequence consists of all the odd natural numbers from 1 to N and then all the even natural numbers from 2 to N, including N. The ... Read More

Advertisements