Handbook
Glossary
nth-hexagonal ( n -- m )
Vocabulary
project-euler
.
045
.
private
Inputs
n
an
object
Outputs
m
an
object
Definition
USING:
kernel
math
;
IN:
project-euler.045.private
:
nth-hexagonal
( n -- m )
dup
2
*
1
-
*
;