From 5771d30bbbca01d9905fcbda23beddffdf257790 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Tue, 9 Nov 2021 19:49:13 +0100 Subject: Problem 686 --- problem686.ijs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 problem686.ijs (limited to 'problem686.ijs') 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 -- cgit v1.2.3