I want a succession which changes their sign like this: --++--++--++---++...
How does its general formula should look? (The one in the picture is wrong, but it might be with a similar structure)
>>369421
Sine wave propagation along x-axis as a function of sin (y). Then just give it two values that come out as
>--++--++--++--++...
Up to you which values you want.
>>369421
if I remember correctly the fibonacci series has numbers in succession like the following:
o p o o p o o p o o p o o p o o p ...
where o stands for odd and p for pair
Here is how you define it:
U1= 1
U2= 2
Un+2= Un + Un+1
Using the a spread sheet program here are the first 27 terms of the series:
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
10946
17711
28657
46368
75025
121393
196418
317811
making n in Xn follow the fibonacci series solves this problem.
>>369571
In the last sentence I had a typo:
I meant to say:
>making n in (-1)^n follow the fibonacci series solves this problem
>>369421
(-1)^(floor(n/2) + 1)
n: 0 1 2 3 4 5 6 7 8...
e: 1 1 2 2 3 3 4 4 5...