Pairs with common factors: Difference between revisions
Content added Content deleted
(New post.) |
m (Minor formatting of text.) |
||
Line 354: | Line 354: | ||
uint32_t term = 1; |
uint32_t term = 1; |
||
while ( term <= maximum ) { |
while ( term <= maximum ) { |
||
std::cout << std::left << std::setw(14) |
std::cout << std::left << std::setw(14) |
||
<< pairsCount[term] << std::endl; |
<< "Term " + std::to_string(term) + ": " << pairsCount[term] << std::endl; |
||
term *= 10; |
term *= 10; |
||
} |
} |