Knuth's power tree: Difference between revisions
→{{header|11l}}
Alextretyak (talk | contribs) (Added 11l) |
Alextretyak (talk | contribs) |
||
Line 99:
R path(:p[n]) [+] [n]
F
L(i) path(n)
r[i] = r[i - p] * r[p]
Line 114 ⟶ 108:
F show_pow_i(x, n)
print("#.: #.\n#.^#. = #.\n".format(n, path(n), x, n,
F show_pow_f(x, n)
print("#.: #.\n#.^#. = #.6\n".format(n, path(n), x, n,
L(x) 18
|