You are viewing a single comment's thread from:

RE: Brainsteem Mathematics Challenges: Integer Powers Function

in #mathematics6 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.30
TRX 0.12
JST 0.033
BTC 64254.80
ETH 3145.34
USDT 1.00
SBD 3.88