Triangular numbers: Difference between revisions

Content added Content deleted
m (→‎{{header|jq}}: explain `def figurates:`)
Line 637: Line 637:


'''Also works with gojq and fq, the Go implementations of jq'''
'''Also works with gojq and fq, the Go implementations of jq'''

In the following, `$r | figurates` generates
an indefinitely long stream of the $r-simplex numbers if $r >= 2.


'''Preliminaries'''
'''Preliminaries'''
Line 835: Line 838:
14545501785001: 5393607.1581 44355.7774 4321
14545501785001: 5393607.1581 44355.7774 4321
</pre>
</pre>



=={{header|Julia}}==
=={{header|Julia}}==