diff options
Diffstat (limited to 'problem686.ijs')
-rw-r--r-- | problem686.ijs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/problem686.ijs b/problem686.ijs new file mode 100644 index 0000000..30d6d82 --- /dev/null +++ b/problem686.ijs @@ -0,0 +1,9 @@ +n =: 678910 +L =: 123 +k =: #":L + +NB. If it doesn't work, increse the limit by hand (increase 1.1) +NB. This limit is set based on Benford's law +limit =: <. 1.1 * n * %10^.1+%L + +problem686 =: (n-1) { I. L=<.10^_1+k+1|(10^.2)*i.limit |