Perfect totient numbers: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: gojq too)
Line 766: Line 766:
'''Adapted from [[#Julia|Julia]]'''
'''Adapted from [[#Julia|Julia]]'''
{{works with|jq}}
{{works with|jq}}
'''Works with gojq, the Go implementation of jq'''

One small point of interest in the following implementation is the way the
One small point of interest in the following implementation is the way the
cacheing of totient values is accomplished using a helper function (`cachephi`).
cacheing of totient values is accomplished using a helper function (`cachephi`).
Line 828: Line 830:
5571
5571
</pre>
</pre>



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