Handbook
Glossary
fits-conjecture? ( n -- ? )
Vocabulary
project-euler
.
046
.
private
Inputs
n
an
object
Outputs
?
an
object
Definition
USING:
kernel
math
math.primes
sequences
;
IN:
project-euler.046.private
:
fits-conjecture?
( n -- ? )
dup
perfect-squares
[
2
*
-
]
with
map
[
prime?
]
any?
;