Numbers in base 10 that are palindromic in bases 2, 4, and 16: Difference between revisions

Add APL
(Add Seed7)
(Add APL)
Line 61:
0 1 3 5 15 17 51 85 255 257 273 771 819 1285 1365 3855 4095 4097 4369 12291 13107 20485 21845
</pre>
 
=={{header|APL}}==
{{works with|Dyalog APL}}
<lang apl>(⊢(/⍨)(2 4 16∧.((⊢≡⌽)(⊥⍣¯1))⊢)¨)0,⍳24999</lang>
{{out}}
<pre>0 1 3 5 15 17 51 85 255 257 273 771 819 1285 1365 3855 4095 4097 4369 12291 13107 20485 21845</pre>
 
=={{header|BASIC}}==
2,115

edits