Testing Transformer Learnability on the Arithmetic Sequence of Rooted Trees