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

m
→‎{{header|ALGOL 68}}: Remove spurious "primes" from a comment
(Added Perl)
m (→‎{{header|ALGOL 68}}: Remove spurious "primes" from a comment)
Line 46:
is palindromic
END;
# print the numbers in decimal that are palendromic primes in bases 2, 4 and 16 #
FOR n FROM 0 TO max number DO
IF PALINDROMIC ( n DIGITS 16 ) THEN
3,038

edits