Here is a true recursive function/formula:
=LET( x, A1, f, LAMBDA(ME,n,[c], IF(n = 1, n, n + ME(ME, ROUNDUP(n / 6, 0), c + 1))), f(f, x) - x )