:

N1011121314151617181920
2^N1e+032e+034e+038e+032e+043e+047e+041e+053e+055e+051e+06
3^N6e+042e+055e+052e+065e+061e+074e+071e+084e+081e+093e+09
4^N1e+064e+062e+077e+073e+081e+094e+092e+107e+103e+111e+12
N 2^N1e+042e+045e+041e+052e+055e+051e+062e+065e+061e+072e+07
N^2 2^N1e+052e+056e+051e+063e+067e+062e+074e+078e+072e+084e+08

頂点数18の制約

python

print("N", *(n for n in range(10, 21)), sep="\t")

print("2^N", *(f"{2**n:.1g}" for n in range(10, 21)), sep="\t")
print("3^N", *(f"{3**n:.1g}" for n in range(10, 21)), sep="\t")
print("4^N", *(f"{4**n:.1g}" for n in range(10, 21)), sep="\t")
print("N 2^N", *(f"{n * 2**n:.1g}" for n in range(10, 21)), sep="\t")
print("N^2 2^N", *(f"{n ** 2 * 2**n:.1g}" for n in range(10, 21)), sep="\t")