Smallest power of 6 whose decimal expansion contains n: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (→{{header|Raku}}: Add a Raku example) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: missing markup) |
||
Line 178: | Line 178: | ||
given @po6.first: *.contains($n), :k |
given @po6.first: *.contains($n), :k |
||
};</lang> |
};</lang> |
||
{{out}} |
|||
<pre> 0: 6⁹ 10,077,696 |
<pre> 0: 6⁹ 10,077,696 |
||
1: 6⁰ 1 |
1: 6⁰ 1 |