|
Search: id:A153265
|
|
|
| A153265 |
|
a(n) = (-2*I)^n + (2*I)^n + (1/2 + 1/2*I*sqrt(3))^n + (1/2 - 1/2*I*sqrt(3))^n |
|
+0 3
|
|
| 4, 1, -9, -2, 31, 1, -126, 1, 511, -2, -2049, 1, 8194, 1, -32769, -2, 131071, 1, -524286, 1, 2097151, -2, -8388609, 1, 33554434, 1, -134217729, -2, 536870911, 1, -2147483646, 1, 8589934591, -2, -34359738369, 1
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
COMMENT
|
For all n there is an m such that: ||a(n)| - 2^m| <= 2. In the Python program which will be provided, the sequence (a(n)) is given by 4tesseq(X) where X = 1.5'i + .25(ii + jj + kk + ee) is the generating floretion.
|
|
FORMULA
|
a(n) = a(n-1) - 5a(n-2) + 4a(n-3) - 4a(n-4); g.f. (1-10*x+12*x^2-16*x^3)/((x^2-x+1)*(4*x^2+1))
|
|
EXAMPLE
|
a(4) = 32 + (1/2 + 1/2*I*sqrt(3))^4 + (1/2 - 1/2*I*sqrt(3))^4 = 31 -or- a(4) = a(n-1) - 5a(n-2) + 4a(n-3) - 4a(n-4) = -2 - 5*(-9) + 4*(1) - 4*4 = 31
|
|
MAPLE
|
a := n-> (2*I)^n+(-2*I)^n+(1/2+1/2*I*sqrt(3))^n+(1/2-1/2*I*sqrt(3))^n;
|
|
CROSSREFS
|
A153266, A153267, A153268
Sequence in context: A080103 A091419 A085383 this_sequence A085691 A055461 A104796
Adjacent sequences: A153262 A153263 A153264 this_sequence A153266 A153267 A153268
|
|
KEYWORD
|
easy,sign
|
|
AUTHOR
|
Creighton Dement (creighton.k.dement(AT)uni-oldenburg.de), Dec 22 2008, Dec 31 2008
|
|
|
Search completed in 0.002 seconds
|