Right so if(G > G64 ↑g64 G64) // Until G is greater than yours, it will continue { while(G<= G64 ↑g64 G64) //// Until Grahams number is greater than your's, it will loop. { // I hope you don't know C++ //// Comment pow(G, G); // G, G = G^G } } else { cout << G; /// output new Grahams number } return 0; ///// Exit program