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 13:50, 31 December 2018
, 5 years ago→{[header|VBA}}: [={
(→{[header|VBA}}: [={) |
|||
Line 2,337:
Plenty more optimisations are possible! Exploiting the observations in Ruby's implementation should make the 7th element reachable in reasonable time ...
=={
<lang vb>Public Declare Function GetTickCount Lib "kernel32.dll" () As Long
'palindromes both in base3 and base2
Line 2,482:
Completed in 5,14 secondsCompleted in 16394,64 seconds
</pre>
=={{header|zkl}}==
{{trans|Ruby}}
|