export const square = (num) => {
if(num<=0 || num > 64) throw new Error('square must be between 1 and 64');
return 2n**BigInt(num-1);
};
export const total = () => {
let result = 0n;
for(let i=0; i<64; i++){
result += 2n\*\*BigInt(i);
}
return result;
};
Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment STOP below
View or trade
BEER
.Hey @drago18121996, here is a little bit of
BEER
from @isnochys for you. Enjoy it!Do you want to win SOME BEER together with your friends and draw the
BEERKING
.