! The following works using "/i" instead of "/". ( scratchpad ) USING: math.combinatorics math.primes math.ranges ; Loading resource:basis/math/combinatorics/combinatorics.factor Loading resource:basis/math/combinatorics/combinatorics-docs.factor Loading resource:basis/math/primes/primes.factor Loading resource:basis/math/primes/erato/erato.factor Loading resource:basis/math/primes/erato/erato-docs.factor Loading resource:basis/math/primes/miller-rabin/miller-rabin.factor Loading resource:basis/math/primes/miller-rabin/miller-rabin-docs.factor Loading resource:basis/math/primes/primes-docs.factor ( scratchpad ) 5 [1,b] --- Data stack: T{ range f 1 5 1 } ( scratchpad ) CONSTANT: golden-ratio 1.618033988749894848 --- Data stack: T{ range f 1 5 1 } ( scratchpad ) [ 62 swap nPk golden-ratio / next-prime ] map . Out of memory Nursery: Start=10e840000, size=200000, end=10ea40000 Aging: Start=10e040000, size=400000, end=10e440000 Tenured: Start=102040000, size=c000000, end=10e040000 Cards:base=100686000, size=ca400