User blog:Ynought/Q function

Q{a} equals the longest chain of  

'''where n and y are non negative integers smaller than Q{a-1}. (if there is a chain that goes on forever that is removed)'''

if the original a≤2 then Q{a≤2}=a+1 

Q(a{1})= the a-th time the output of Q{a{1}+x} changes,where x ≥ 0 and a{1}+x>1