Show the (decimal) value of a number of 1s appended with a 3, then squared: Difference between revisions
Show the (decimal) value of a number of 1s appended with a 3, then squared (view source)
Revision as of 15:21, 11 October 2023
, 7 months ago→J: faster and more memory efficient
No edit summary |
(→J: faster and more memory efficient) |
||
Line 573:
=={{header|J}}==
▲<syntaxhighlight lang=J> (,.*:)(2 + 10 #. 1x #~ >:)"0 i.8
3 9
13 169
Line 582 ⟶ 581:
111113 12346098769
1111113 1234572098769
11111113 123456832098769</syntaxhighlight>
=={{header|jq}}==
|