Yellowstone sequence: Difference between revisions

Content added Content deleted
Line 244:
 
// yellowstone :: Generator [Int]
function* yellowStoneyellowstone() {
// A non finite stream of terms in the
// Yellowstone permutation of the natural numbers.
Line 286:
const main = () => console.log(
take(30)(
yellowStoneyellowstone()
)
);