OKlibrary  0.2.1.6
CountProgressions_GreenTao.cpp File Reference

Application for counting arithmetic progressions in the prime numbers. More...

#include <iostream>
#include <string>
#include <boost/lexical_cast.hpp>
#include <OKlib/Combinatorics/Hypergraphs/Generators/GreenTao.hpp>

Go to the source code of this file.

Defines

#define UINT_TYPE_GT   unsigned long

Enumerations

enum  

Functions

int main (const int argc, const char *const argv[])

Detailed Description

Application for counting arithmetic progressions in the prime numbers.

Called with parameters k and N, outputs the number of hyperedges of the hypergraphs arithprog_primes_ohg(k,n) for n running from 1 to N, in a format readable by R (via read.table(filename, colClasses= c("integer","integer"), header=TRUE), creating a dataframe with columns "n" and "nhyp"). More precisely, only those n are output for which a change happens (i.e., new arithmetic progressions were found).

Definition in file CountProgressions_GreenTao.cpp.


Define Documentation

#define UINT_TYPE_GT   unsigned long

Definition at line 32 of file CountProgressions_GreenTao.cpp.


Enumeration Type Documentation

anonymous enum

Definition at line 37 of file CountProgressions_GreenTao.cpp.


Function Documentation

int main ( const int  argc,
const char *const  argv[] 
)