Input a number & check whether …

CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Ankit Saha 5 years, 1 month ago
- 1 answers
Related Questions
Posted by Rupesh Rupesh 1 year, 9 months ago
- 2 answers
Posted by Catherine Tympuiñ 1 year, 5 months ago
- 0 answers
Posted by Vanshika Prajapati 1 year, 9 months ago
- 1 answers
Posted by M.Sameeha _ 1 year, 4 months ago
- 0 answers
Posted by Jeevesh Jeevesh 1 year, 5 months ago
- 1 answers
Posted by Manasvi Bhutada 1 year, 5 months ago
- 1 answers
Posted by Catherine Tympuiñ 1 year, 5 months ago
- 1 answers
Posted by Payal Kumari 1 year, 9 months ago
- 0 answers

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide
Meghna Thapar 5 years, 1 month ago
A palindromic prime (sometimes called a palprime) is a prime number that is also a palindromic number.
Given a number n, print all palindromic primes smaller than or equal to n. For example, If n is 10, the output should be “2, 3, 5, 7′. And if n is 20, the output should be “2, 3, 5, 7, 11′.
Idea is to generate all prime numbers smaller than or equal to given number n and checking every prime number whether it is palindromic or not.
0Thank You