Even: n + n / 2
Odd: 2 n - (n + 1) / 2
Assuming positive integers for all n. The formula isn't too hard to work out afterward for the entire sequence
Even: n + n / 2
Odd: 2 n - (n + 1) / 2
Assuming positive integers for all n. The formula isn't too hard to work out afterward for the entire sequence
What has changed is that we use the sum-to-zero vector transform and then softmax it. There are still n-1 free variables but the over/underflow for finite precision computing is less likely. 2/
What has changed is that we use the sum-to-zero vector transform and then softmax it. There are still n-1 free variables but the over/underflow for finite precision computing is less likely. 2/