The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A121622 Real part of (3 + 2i)^n. 6
 1, 3, 5, -9, -119, -597, -2035, -4449, -239, 56403, 341525, 1315911, 3455641, 3627003, -23161315, -186118929, -815616479, -2474152797, -4241902555, 6712571031, 95420159401, 485257533003, 1671083125805, 3718150825791, 584824319281 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Companion sequence A121621 is real((2 + 3i)^n). LINKS Michael De Vlieger, Table of n, a(n) for n = 0..500 Beata Bajorska-Harapińska, Barbara Smoleń, and Roman Wituła, On Quaternion Equivalents for Quasi-Fibonacci Numbers, Shortly Quaternaccis, Advances in Applied Clifford Algebras (2019) Vol. 29, 54. Index entries for linear recurrences with constant coefficients, signature (6,-13). FORMULA a(n) = real((3 + 2i)^n). a(n) = 6*a(n-1) - 13*a(n-2). a(n) = (1/2)*(3-2*i)^n + (1/2)*(3+2*i)^n, with n>=0 and i=sqrt(-1). - Paolo P. Lava, Jun 25 2008 G.f.: ( 1-3*x ) / ( 1-6*x+13*x^2 ). - R. J. Mathar, Aug 12 2012 E.g.f.: exp(3*x)*cos(2*x). - Sergei N. Gladkovskii, Jan 20 2014 EXAMPLE a(5) = -597 since (3 + 2i)^5 = (-597 + 122i). a(5) = -597 = 6*(-119) - 13*(-9) = 6*a(5) -13*a(4). MATHEMATICA f[n_] := Re[(3 + 2I)^n]; Table[f[n], {n, 0, 24}] (* Robert G. Wilson v, Aug 17 2006 *) LinearRecurrence[{6, -13}, {1, 3}, 30] (* Harvey P. Dale, Apr 24 2017 *) PROG (PARI) a(n) = real((3 + 2*I)^n); \\ Michel Marcus, Jun 12 2021 CROSSREFS Cf. A121621. Cf. A193410, A066771. Sequence in context: A163550 A123220 A098339 * A188983 A083519 A302088 Adjacent sequences:  A121619 A121620 A121621 * A121623 A121624 A121625 KEYWORD sign,easy AUTHOR Gary W. Adamson and Nick Williams, Aug 10 2006 EXTENSIONS More terms from Robert G. Wilson v, Aug 17 2006 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 5 00:21 EST 2021. Contains 349530 sequences. (Running on oeis4.)