@pimsteenbergh/

QuizzicalInterestingTuna

JavaScript

No description

fork
loading
main.js
1
2
3
4
f=(a,i=x=y=0)=>{r=[0,4];while(r.length<a){x++;y=0;for(i=0;i<r[x];i++){if(!r.includes(i)){y+=i;}}r.push(y)}return r[a-1];}

f(8);
Native Browser JavaScript