Numbers k such that the last letter of k is the same as the first letter of k+1: Difference between revisions
Content added Content deleted
(→{{header|J}}: bugfix (*last* letter of k, not first letter of k)) |
m (→{{header|J}}) |
||
Line 49: | Line 49: | ||
1000 10988 |
1000 10988 |
||
10000 106652 |
10000 106652 |
||
(~.,.#/.~) /:~10|1e3{.sample NB. counts by final digit |
(~.,.#/.~) /:~10|1e3{.sample NB. counts by final digit (first 1e3 k) |
||
0 12 |
0 12 |
||
1 111 |
1 111 |
||
Line 60: | Line 60: | ||
8 301 |
8 301 |
||
9 111 |
9 111 |
||
(~.,.#/.~) /:~10|1e4{.sample NB. counts by final digit |
(~.,.#/.~) /:~10|1e4{.sample NB. counts by final digit (first 1e4 k) |
||
0 122 |
0 122 |
||
1 1301 |
1 1301 |