Continue Number Sequence with Irregular Reduction

Hi All,

Can anyone point me in the right direction to continue this number sequence down to 0?
The step values are reducing in irregular intervals but are doing so as a ratio of the reducing distance between two curved lines. Any guidance is greatly appreiciated as I have a bad dose of Friday brain…

@Ewan_Opie in Python:

sequence = [x-y for x, y in zip(IN[0], IN[0][1:])] 

def sub(lst):
	while out[-1] > 0:
		for item in sequence:
			if out[-1]>0:
	del out[-1]	
	return out

Thanks @salvatoredragotta I will try this out on Monday! :+1:

1 Like