Handbook
Glossary
candidates ( n -- seq )
Vocabulary
project-euler
.
043
.
private
Inputs
n
an
object
Outputs
seq
an
object
Definition
USING:
kernel
project-euler.common
ranges
sequences
sets
;
IN:
project-euler.043.private
:
candidates
( n -- seq )
1000
over
<range>
[
number>digits
3 0
pad-head
]
map
[
all-unique?
]
filter
;