Wasteful, equidigital and frugal numbers: Difference between revisions
Content added Content deleted
(J draft) |
m (→{{header}J}}) |
||
Line 47: | Line 47: | ||
* [[oeis: A046759|OEIS: A046759 - Economical numbers]] |
* [[oeis: A046759|OEIS: A046759 - Economical numbers]] |
||
<br><br> |
<br><br> |
||
=={{header |
=={{header|J}}== |
||
Brute force implementation:<lang J>I=: #@(#.inv)"0 |
Brute force implementation:<lang J>I=: #@(#.inv)"0 |
||
Line 68: | Line 68: | ||
It was not clear to me whether the 10000th was supposed to be the real 10000th (index 9999 in J) or the number after that. So.. here I show both. |
It was not clear to me whether the 10000th was supposed to be the real 10000th (index 9999 in J) or the number after that. So.. here I show both. |
||
=={{header|Phix}}== |
=={{header|Phix}}== |