Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 954 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 954 Bytes

A122660

Simple and fast cpp program that generates integer sequence A122660.

Plantri

Plantri is a program developed to enumerate triangulations of planar graphs. Its source code can be downloaded and compiled here. For our purpose, I have included only the plantri.c file. You may compile the program similar to the following:

> gcc plantri.c -o plantri

We will be using this program to exhaust all maximal planar graphs to test for petrie-completeness.

Main Program File

The main program file can be compiled similar to the following:

> g++ A122660.cpp -o A122660

To test for the number of petrie-complete graphs with n vertices, use the following command:

> ./plantri n | ./A122660

Example Usage

> /plantri 17 | ./A122660
129664753 triangulations written to stdout; cpu=73.91 sec
41036436 petrie-complete graphs found in 218.953s