Hello,
I am looking to make a program that will generate prime numbers. The program has to start at a specific number, ex: 3698741 and then end at another specific number, ex: 9874123. The numbers may never have duplicate digits, ex: 9874122. There will be a set of rules as to what numbers can follow others, ex: 6 & 9 can follow 3 but not 2 or 1.
Now, I will not even call myself new to C++ because that would be an understatement. However, if I can get any tips on how to code these specific functions that would be great. If someone wants to code the whole thing that would even be better. But, realistically, any help would be appreciated.
In the end the program should output all of the generated numbers into a list.
Thank you,
Paul