User blog:Mango523WNR/Python Code for calculating hyperoperation


 * Here are my code for https://googology.wikia.org/wiki/User_talk:Naruyoko/Thinking_about_Real_Index_Hyperoperations

if c==0: return b+1 elif b==-1: if c==0: return 0 elif c==1: return a-1 elif c>1 and c<2: return (a*(c**2)-a*c-c**2-a+2*c)/3 elif c==2: return -a elif int(c)==c: return 0 elif b==0: if c==0: return 1 elif c==1: return a     elif c>1 and c<2: return (a*(c**2)+2*a*c-c**2-4*a-c+6)/3 elif c==2: return 0 elif int(c)==c: return 1 elif 0=1: if b>-1 and b<0: return hyper(a,0,c)*(b+1)-hyper(a,-1,c)*b if b>0: return hyper(a,hyper(a,b-1,c),c-1)