login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 2
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; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

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: A091419 A181859 A085383 * A085691 A055461 A104796

Adjacent sequences:  A153262 A153263 A153264 * A153266 A153267 A153268

KEYWORD

easy,sign

AUTHOR

Creighton Dement (creighton.k.dement(AT)uni-oldenburg.de), Dec 22 2008, Dec 31 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 04:58 EST 2012. Contains 205985 sequences.