Composite numbers k with no single digit factors whose factors are all substrings of k: Difference between revisions
Content added Content deleted
Line 21: | Line 21: | ||
using Primes |
using Primes |
||
function containsitsonlytwodigfactors(n) |
|||
⚫ | |||
s = string(n) |
|||
⚫ | |||
end |
|||
seq = @>> Lazy.range(2) filter(containsitsonlytwodigfactors) |
seq = @>> Lazy.range(2) filter(containsitsonlytwodigfactors) |
||
Line 31: | Line 34: | ||
5526173 11610313 13436683 13731373 13737841 13831103 15813251 17692313 19173071 28118827 |
5526173 11610313 13436683 13731373 13737841 13831103 15813251 17692313 19173071 28118827 |
||
</pre> |
</pre> |
||
=={{header|Raku}}== |
=={{header|Raku}}== |