Eisenstein primes: Difference between revisions

m
→‎{{header|J}}: remove useless style on syntaxhighlight
m (→‎{{header|J}}: cleaner code)
m (→‎{{header|J}}: remove useless style on syntaxhighlight)
Line 37:
Task example (and stretch - taking the stretch goal in a minimalist literal fashion):
 
<syntaxhighlight lang=J style="overflow-x: scroll; white-space: nowrap !important"> 20 5$eisensteinprimes 100
0j1.73205 1.5j0.866025 0j_1.73205 _1.5j_0.866025 _1j_1.73205
2 _1j1.73205 _0.5j2.59808 0.5j2.59808 2.5j0.866025
6,962

edits