Hyperfactorial

node v8.17.0
version: 1.0.0
endpointsharetweet
const { Stack } = require('@hypercubed/f-flat'); const f = new Stack(); f.eval(` math: rcl use core: rcl use `).stack;
- 1 day has 24 hours - 1 hour has 60 minutes - 1 minute has 60 seconds - 1 second has 1000 milliseconds
f.eval(` [ 24 60 60 1000 ] product `).stack.toString();
The fifth hyperfactorial: 5⁵ × 4⁴ × 3³ × 2² × 1¹ = 86400000 milliseconds is exactly 1 day! https://twitter.com/fermatslibrary/status/939499914794594304
f.eval(` hyper-fact: [ [ integers ] >> eval [ dup ^ ] map product ] ; clr 5 hyper-fact `).stack.toString();
Loading…

no comments

    sign in to comment