A Prime-Adam Number is defined as a positive number that fulfills two conditions simultaneously: it is a prime number and also an Adam number. For example, take the number 13; its reverse is 31. The square of 13 is 169, and the ...
Home/Programs & Algorithms
Qukut Latest Articles
Keith Number
Pankaj Gupta
A Keith number is an n-digit number that appears as a term in a sequence, where the first n terms are its own digits, and each following term is the sum of the previous n terms. For example, 197 is ...
Doubly Markov
Pankaj Gupta
A matrix is called Doubly Markov if it satisfies the following conditions: All elements are greater than or equal to 0. The sum of each row is equal to 1. The sum of each column is equal to 1. The program should ...