Numbers in base 10 that are palindromic in bases 2, 4, and 16: Difference between revisions
Numbers in base 10 that are palindromic in bases 2, 4, and 16 (view source)
Revision as of 16:45, 25 June 2021
, 3 years ago→{{header|ALGOL 68}}: Remove spurious "primes" from a comment
SqrtNegInf (talk | contribs) (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
FOR n FROM 0 TO max number DO
IF PALINDROMIC ( n DIGITS 16 ) THEN
|