Advertisement
Guest User

CANDY Function

a guest
Oct 17th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. Here is the 3rd fastest growing function ever defined: the CANDY function. In this paper, I will show the rules to the CANDY function, small values, and how to evaluate it yourself.
  2.  
  3. CANDY function rules:
  4.  
  5. The CANDY function is a variant of and significantly more powerful than the xi function, defined by Adam P. Goucher. Like, the xi function, there are beta-reduction rules. Here are the 5 rules of the CANDY function (rules ARE case sensitive):
  6.  
  7. C: Ca -> NULL
  8. A: Aab -> Aba
  9. N: Nabc -> Ncbc
  10. D: Dabcd -> Ddbdcd
  11. Y: Yabcde -> Yebecede
  12.  
  13. Also, we use the infinite sequence YDNAYDNA...
  14.  
  15. As you can see, each "level" or step down of the CANDY function almost doubles the number of letters. So, now it is time to get started with small values by spelling CANDY starting with Y.
  16.  
  17. Small values:
  18.  
  19. CANDY(1):
  20. Y
  21. CANDY(1) = 1
  22.  
  23. CANDY(2):
  24. YC
  25. CANDY(2) = 2
  26.  
  27. CANDY(3):
  28. YDC
  29. CANDY(3) = 3
  30.  
  31. CANDY(4):
  32. NDYC
  33. CANDY(4) = 4
  34.  
  35. CANDY(5):
  36. ANDYC
  37. ANANYCDC
  38. AANANYAYNYAYNY
  39. CANDY(5) = 16
  40.  
  41. Good luck,
  42. Wythagoras
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement