Find palindromic numbers in both binary and ternary bases: Difference between revisions
Find palindromic numbers in both binary and ternary bases (view source)
Revision as of 09:45, 22 March 2021
, 3 years ago→{{header|11l}}
Alextretyak (talk | contribs) m (→{{header|11l}}) |
|||
Line 48:
L(trial) (b‘’revb, b‘0’revb, b‘1’revb, b‘2’revb)
V t = Int64(trial, radix' 3)
I pal2(t)
r.append(t)
|