Smallest power of 6 whose decimal expansion contains n: Difference between revisions

Content added Content deleted
(add RPL)
Line 1,562:
Forces decimal mode for integer display
fornfor n < 22
turn n into string, initialize counter
get 6^n