Skip to content

NaturalNumberTheory

Michael Poteat edited this page Feb 27, 2023 · 3 revisions

hkt-toolbelt / NaturalNumberTheory

Namespace: NaturalNumberTheory

Type Aliases

Collatz

Ƭ Collatz: $<$<$<If, IsEven>, $<DivideBy, 2>>, $<Pipe, [$<Multiply, 3>, Increment]>>

Defined in

natural-number-theory/collatz.ts:3


CollatzSequence

Ƭ CollatzSequence: $<FixSequence, $<$<$<If, $<Equals, 1>>, $<Constant, 1>>, Collatz>>

Defined in

natural-number-theory/collatz.ts:8

Clone this wiki locally