find the formula to this pattern

No.12384366 ViewReplyOriginalReport
hint: input var is 111
>inb4 reverse image search