[go: up one dir, main page]

login
A108715
First differences of A025480.
0
0, 1, -1, 2, -1, 2, -3, 4, -2, 3, -4, 5, -3, 4, -7, 8, -4, 5, -7, 8, -5, 6, -10, 11, -6, 7, -10, 11, -7, 8, -15, 16, -8, 9, -13, 14, -9, 10, -17, 18, -10, 11, -16, 17, -11, 12, -22, 23, -12, 13, -19, 20, -13, 14, -24, 25, -14, 15, -22, 23, -15, 16, -31, 32, -16, 17, -25, 26, -17, 18, -31, 32, -18, 19, -28, 29, -19, 20, -37, 38, -20
OFFSET
0,4
COMMENTS
Pattern: cycles of four successive terms. [this needs to be clarified, Joerg Arndt, Apr 16 2011]
FORMULA
From Paul Curtz, Apr 15 2011: (Start)
a(A000225(n)) = A131577(n).
2 * a(n) = A000265(n+1) - A000265(n).
a(2*n) + a(1+2*n) = 1.
a(4*n) = -n, a(1+4*n) = n.
a(2+8*n) = 1 + 3*n, a(3+8*n) = 2+3*n.
a(2+2*n) = a(n) - a(1+2*n). (End)
CROSSREFS
KEYWORD
base,easy,sign
AUTHOR
Alexandre Wajnberg, Jun 20 2005
STATUS
approved