Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis
|
08-21-2017, 08:39 PM
Post: #51
|
|||
|
|||
RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis
(08-21-2017 03:39 PM)pier4r Wrote: Could you share the details?The code is written in C++. The idea is to build up lists of larger and larger suffixes to possible solutions. The input file is text. The first line is the number N of digits in the OUTPUT. This line is followed by a bunch of lines that contain all possible suffixes of length N-1. It writes to the output a file in the same format, but for one larger suffix size. You can kick start it with the input file: Quote:1Which generates as its output: Code: 2 If the program finds a solution along the way, it writes it to the standard error output. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)