summaryrefslogtreecommitdiff
path: root/problem30.ijs
blob: d371226256c029ad3f84276316eff810eaf88f85 (plain) (blame)
1
2
3
f =: [:+/[:(^&5)10&#.^:_1
n =. i.1e7 NB. Can't be higher than this
problem30 =: +/2}.n#~n=f"0 n