-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
44 lines (38 loc) · 994 Bytes
/
main.cpp
File metadata and controls
44 lines (38 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include "std_lib_facilities.h"
#include "algebra.h"
#include "primitive.h"
#include "tests.h"
#include "encrypt.h"
#include "numberanalytic.h"
#include "factorization.h"
using namespace std;
int main()
{
// ofstream os {"factorization.txt"};
// for (unsigned int i = 1; i < 10000; i++) {
// print_factorize(i, os);
// }
// uint32_t t = 6;
// uint32_t n = 7;
// auto vec = irreduciblePolynom(t, n);
// write_to_file("polynom.txt", vec, n);
// string file = "primitiveroots.txt";
// clearPrimitive(file);
// uint64_t big_number = 9811;
// writePrimitiveRoots(big_number, file);
// printPrimitiveRoots(big_number);
/*
string filename = "primes.txt";
int high = 900;
outPrimes(filename, high);
*/
// test_mobius();
// test_phiFunction();
// test_sigmaFunction();
// test_tauFunction();
test_specialFunction();
// string h = encrypt("Hallaballa");
// cout << h << endl;
//printGamma(5, -1.5, 0.2, 100000);
//writeGamma(10.1, -10.1, 0.2, 100000, "gamma.txt");
}