Sum of square and cube digits of an integer are primes: Difference between revisions
Sum of square and cube digits of an integer are primes (view source)
Revision as of 11:54, 2 January 2022
, 2 years agoAdd APL
Not a robot (talk | contribs) (Add APL) |
|||
Line 40:
16 17 25 28 34 37 47 52 64
</pre>
=={{header|APL}}==
<lang apl>(⊢(/⍨)∧/∘((2=0+.=⍳|⊢)∘(+/⍎¨∘⍕)¨*∘2 3)¨)⍳100</lang>
{{out}}
<pre>16 17 25 28 34 37 47 52 64</pre>
=={{header|F_Sharp|F#}}==
|