6
Display integer in balanced base-ϕ
Objective
Given a positive integer, display it in balanced base-ϕ numeral. ϕ is the golden ratio.
Balanced base-ϕ
Unlike the usual base-ϕ that uses 0 and 1 as digits, balanced base-ϕ uses 1 and -1 as digits.
-1 is written T as a shorthand.
To ensure uniqueness o...