Graham's number mod N Calculate G mod N, where G is the Graham's number. Online version It is a single file program (gramod.py) of Python 2 or 3. When environmental variable SCRIPT_NAME is set, it runs as a CGI program. Otherwise it runs as a commandline program.