You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// :: Number -> Number// Slow: takes about 90 seconds on a 2013 MacBook Proconsteuler92_=(n)=>I.Range(1,n).map((n)=>I.Seq(squareDigitChain(n)).last())// 10 % faster, but mutation going on:// .map((n) => [...squareDigitChain(n)].pop()).filter((n)=>n===89).count()