Factorions: Difference between revisions
→{{header|F_Sharp|F#}}
(R) |
|||
Line 386:
=={{header|F_Sharp|F#}}==
<lang fsharp>
// Factorians. Nigel Galloway: October 22nd., 2021
let N=[|let mutable n=1 in yield n; for g in 1..11 do n<-n*g; yield n|]
Line 398:
In base 12 Factorians are: 1 2
</pre>
=={{header|Factor}}==
<lang factor>USING: formatting io kernel math math.parser math.ranges memoize
|