文件名称:pprime
介绍说明--下载内容均来自于网络,请自行研究使用
因为151即是一个质数又是一个回文数(从左到右和从右到左是看一样的),所以 151 号是回文质数。
写一个程序来找出范围[a,b](5 <= a < b <= 100,000,000)间的所有回文质数 -The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds all prime palindromes in the range of two supplied numbers a and b (5 <= a < b <= 100,000,000) both a and b are considered to be within the range .
写一个程序来找出范围[a,b](5 <= a < b <= 100,000,000)间的所有回文质数 -The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds all prime palindromes in the range of two supplied numbers a and b (5 <= a < b <= 100,000,000) both a and b are considered to be within the range .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pprime.cpp