Pernicious numbers: Difference between revisions

m
(Added Befunge example.)
m (→‎{{header|Befunge}}: Fixed typo)
Line 118:
Based more or less on the '''[[Pernicious_numbers#C|C]]''' implementation, although we don't bother supporting ''n'' = 0, so we can use a smaller prime bit set that fits inside a signed 32 bit int (most Befunge implementations wouldn't support anything higher).
 
Also note that the extra spaces in the output are just to ensure it's readable on buggy interpreters that don't include a space after numeric output. They can easily be removed by replacereplacing the comma on line 3 with a dollar.
 
<lang befunge>55*00p1>:"ZOA>/"***7-*>\:2>/\v
Anonymous user