99 Elm Problems/Problem 66

The method yields a very compact layout while maintaining a certain symmetry in every node. Find out the rules. Hint: Consider the horizontal distance between a node and its successor nodes.

# # # THIS IS A STUB # # #

Example in Elm:
import Html exposing (text)
import List

f : Int -> Int
-- your implementation goes here

main = text (toString (f 0))