So while hammering away at my sphere issues I needed a formula to tell me what a particular point on an edge would be numerically at any given point. The issue was that the numbers are increasing at a weird amount every time and it’s been ages since I’ve done calculus. But then… I remembered reading about Wolfram Alpha. Decided to give it a whirl and blam! Got the equation I needed.
So the sequence I needed an equation for I determined by literally drawing out the shape I wanted and numbering the points how I wanted them numbered. For 1 sequence I had this number sequence:
0, 2, 5, 9, 14
If you copy that sequence into the search here: https://www.wolframalpha.com/ you get a neat page back telling you all sorts of interesting things about that sequence. But… for my case the interesting bit was right at the end where it spit out the equation:
a = 1/2(n - 1)(n + 2)
So “n” is the position of the number in the sequence and “a” is the value. And yes. This equation is accurate (I tried it out by hand for the next 3 points in the line just to be sure).
So ya! There’s my tip! If you need some help figuring out some math give Wolfram Alpha a shot! It’s scarily easy to use.