-
显示前100个反素数
应用背景
反素数是指一个将其逆向之后也是一个素数的非回文数。例如:17是一个素数,而71也是一个素数,所以17和71是反素数。编写程序,显示前100个反素数。每行显示10个,并且准确对其,如下所示:
13 17 31 37 71 73 79 97 107 113
149 157 167 179 199 311 337 347 359 389
...
关键技术
step1: 关于如何判断一个数是素数,就是质数,
step2: 关于这个素数的逆反数,
step3: 再一次判断这个数是个素数,
step4: 将这个数输出,
step5: 输出前100个反素数。
- 2022-07-04 10:11:11下载
- 积分:1
-
粒子群算法
人工蜂群是用麦芽应用程序中优化目的优化技术。欢迎大家下载、试用。谢谢大家的支持!
- 2022-07-20 00:50:46下载
- 积分:1
-
Dichotomy for solving nonlinear equations a root, you can calculate the approxim...
二分法求解非线性方程的一个根,可以计算出一般非线性方程的近似解-Dichotomy for solving nonlinear equations a root, you can calculate the approximate solution of general nonlinear equations
- 2023-02-22 22:25:03下载
- 积分:1
-
DTMF(Dual Tone Multi Frequency)Recognition Algorithm
Dual Tone Multi Frequencies (DTMF tones) are two different tones at two ends of a spectrum that are used to send information in telephonic communication mediums. The tones represent numbers 0-9 and the symbols * and #. A series of these numbers may be assigned to individuals as points of contact, as in a phone number, or the numbers can be used to relay other sorts of information.
While it may seem confusing, it should be noted that all numbers on a telephone are assigned two DTMF tones, and in all, seven different frequencies are assigned. Some numbers will have the same lower frequency, but different higher frequency, while others will have the same higher frequency but a different lower frequency. The range is between 697 Hz and 941 Hz for the lower frequencies and 1209 Hz and 1633 Hz for
- 2022-06-16 09:51:22下载
- 积分:1
-
lte多用户MIMO
LTE作为一个向4g过渡的协议,其引进了若干关键技术比如多用户mimo,其可以大大增强数据数据传输速率,减小用户间的干扰,使得用户可以得到更好的服务,代码基于lte给出了相关的仿真工作。 &
- 2022-04-14 13:58:36下载
- 积分:1
-
误差分析的方法有多种,这是一种先验估计误差的方法,较以往的“向前误差分析”在矩阵运算的舍入误差估计上有较好的结果,以而使矩阵的误差分析获得了突破性的进展,使不少...
误差分析的方法有多种,这是一种先验估计误差的方法,较以往的“向前误差分析”在矩阵运算的舍入误差估计上有较好的结果,以而使矩阵的误差分析获得了突破性的进展,使不少用向前误差分析难于判定可靠性的数值方法获得新的进展。特别值得一提的是,在工程技术界,经常使用几种不同的计算方法,甚至使用实验方法进行比较,从而确定计算结果的可靠性,这也是一种有效而实用的方法。-error analysis by a number of means, which is a priori estimation error method, compared to the previous "Forward Error Analysis" in the matrix calculation error into the homes a better estimate on the results of a matrix so the error analysis of a breakthrough in the progress, many with forward error analysis can be difficult to determine on the numerical method to achieve new progress. Particularly worth mentioning is that in the engineering technology sector, often use several different methods of calculation, or even the use of experimental methods, in order to determine the reliability of results, which is also an effective and practical method.
- 2022-04-27 04:17:28下载
- 积分:1
-
contour detection by ant colony optimization
这是一个利用蚁群算法进行图像边缘检测的程序,基于论文“图像边缘检测的蚁群优化算法”,IEEE进化计算大会(CEC),第751-756页,香港,2008年6月。输入:
- 2022-06-16 07:46:26下载
- 积分:1
-
最长公共子串的Java实现和NPL应用
资源描述这是关于动态规划的一个问题,一般称之为最长公共字串问题,但是在这里采用了Java语言来进行实现,可以帮助我们更好的理解动态规划这个经典算法
- 2023-02-27 18:40:03下载
- 积分:1
-
这是一个用梯形法求积的程序实例(VC)
这是一个用梯形法求积的程序实例(VC)-This is a method for using trapezoidal plot examples of procedures (VC)
- 2023-04-24 11:50:03下载
- 积分:1
-
Term solution to the ant colony algorithm for TSP problem, the recommendations l...
用语解决TSP问题的蚁群算法,初学者建议看!-Term solution to the ant colony algorithm for TSP problem, the recommendations look beginners!
- 2023-01-18 20:10:02下载
- 积分:1