diff options
Diffstat (limited to 'problem14.ijs')
-rw-r--r-- | problem14.ijs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/problem14.ijs b/problem14.ijs new file mode 100644 index 0000000..713bbb4 --- /dev/null +++ b/problem14.ijs @@ -0,0 +1,3 @@ +next =: (-:`(1+3&*)) @. (2&|) +seqLength=: ((>:@$:@next)`1:) @. (<:&1) " 0 +problem14=: {. \: seqLength (i.1000000)
\ No newline at end of file |