Handbook
Glossary
nth-pentagonal ( n -- seq )
Vocabulary
project-euler
.
044
.
private
Inputs
n
an
object
Outputs
seq
an
object
Definition
USING:
kernel
math
;
IN:
project-euler.044.private
:
nth-pentagonal
( n -- seq )
dup
3
*
1
-
*
2
/i
;
inline