[Home] [Puzzles & Projects] [Delphi Techniques] [Math topics] [Library] [Utilities]
|
|
Problem Description
The fourth in the "T-Shirt" series: Back of T-Shirt: "Smallest prime integer that remains prime when added to its reversal" Front: __ __ __ ? Background & TechniquesAnother beginner's level program that searches for the required number. If the required prime is a three digit number (it is), then we are searching for the smallest prime number, abc, such that abc+cba is prime. There are about 30 user written lines of code here equally divided among three routines:
Here is the entire source code listing for the three subroutines:
Running/Exploring the Program
Suggestions for Further Explorations
|
[Feedback] [Newsletters (subscribe/view)] [About me]Copyright © 2000-2018, Gary Darby All rights reserved. |