You are viewing a single comment's thread from:

RE: Brainsteem Mathematics Challenges: Integer Powers Function

in #mathematics8 years ago
a = 0
b = 0

For x = 1 to 79
    y = 80 - x
    f = x^y
    If f > v Then
        v = f
        a = x
        b = y
    End If
Next

WScript.Echo a & "^" & b

prints 20^60

Thanks for witness vote by the way. ^_^

Sort:  

Perhaps I should reboot the computational mathematics challenges I used to post :-)
They were mildly popular compared to the analytical maths puzzles.

BTW like most people, rarely look at my witness votes, but was time for a few tweaks, so you're welcome!

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.104
BTC 64459.60
ETH 1879.30
USDT 1.00
SBD 0.36