This is the implementation in C++11 of the algorithms about the smallest happy numbers of unknown height and their test cases for decimal and octal bases.
This code has been compiled with CLang version 3.6 using cmake
or with Netbeans version 8.0.2.
Make sure to install cmake
3.3 in order to built the executable. Here is the procedure to execute the code in the terminal with cmake:
mkdir Build
- Create the directory 'Build'cd Build
- Enter the 'Build' directorycmake ..
- Build and generate the target compiler from theCMakeList.txt
filemake Gamma
- Compile the source code and create the executableGamma
accordingly./Gamma <base_min> <base_max>
- Write gamma in base B betweenbase_min
andbase_max
inclusively in the CSV fileLargeGamma.csv