Handbook
Glossary
next-pq ( p1 q1 -- p2 q2 )
Vocabulary
project-euler
.
009
.
private
Inputs
p1
an
object
q1
an
object
Outputs
p2
an
object
q2
an
object
Definition
USING:
kernel
math
;
IN:
project-euler.009.private
:
next-pq
( p1 q1 -- p2 q2 )
dup
1
=
[
drop
2
+
dup
]
when
2
-
;