This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A161168 a(n) = 2^n + 4^n. 6
 2, 6, 20, 72, 272, 1056, 4160, 16512, 65792, 262656, 1049600, 4196352, 16781312, 67117056, 268451840, 1073774592, 4295032832, 17180000256, 68719738880, 274878431232, 1099512676352, 4398048608256, 17592190238720, 70368752566272 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS Essentially a duplicate of A063376. a(n) written in base 2: a(0) = 10, a(n) for n >= 1: 110, 10100, 1001000, 100010000, ..., i.e., number 1, (n-1) times 0, number 1, n times 0 (see A163664). a(n) is a bisection of A005418. - Jaroslav Krizek, Aug 14 2009 Central terms of the triangle in A173786. - Reinhard Zumkeller, Feb 28 2010 For n > 0 let 2^(n+1) be the length of the even leg of a primitive Pythagorean triangle (PPT); then the odd leg is constrained to have a length of 4^n-1 and the hypotenuse to have a length of 4^n+1. The resulting triangle has a semiperimeter of 4^n + 2^n. - Frank M Jackson, Dec 28 2017 LINKS Iain Fox, Table of n, a(n) for n = 0..1660 Index entries for linear recurrences with constant coefficients, signature (6,-8). FORMULA a(n) = 6*a(n-1) - 8*a(n-2); a(0)=2, a(1)=6. - Vincenzo Librandi, Dec 27 2010 G.f.: -2*(3*x-1) / ((2*x-1)*(4*x-1)). - Colin Barker, Mar 19 2013 E.g.f.: e^(2*x) + e^(4*x). - Iain Fox, Dec 28 2017 a(n) = 2*A007582(n). - R. J. Mathar, Feb 26 2018 MAPLE A161168:=n->2^n+4^n: seq(A161168(n), n=0..40); # Wesley Ivan Hurt, Jul 24 2017 MATHEMATICA a[n_]:=4^n+2^n; Array[a, 24] (* Frank M Jackson, Dec 28 2017 *) PROG (Sage) [2^n + 4^n for n in xrange(0, 25)] (Sage) [sigma(4, n)-1for n in xrange(0, 25)] (MAGMA) [ 2^n+4^n: n in [0..25] ]; (PARI) a(n)=2^n+4^n \\ Charles R Greathouse IV, Oct 07 2015 (PARI) first(n) = Vec(2*(1 - 3*x)/((1 - 2*x)*(1 - 4*x)) + O(x^n)) \\ Iain Fox, Dec 28 2017 CROSSREFS Cf. A005418, A007582, A020522, A028403, A063376, A163664, A173786. Sequence in context: A049141 A049129 A063376 * A049139 A071356 A141200 Adjacent sequences:  A161165 A161166 A161167 * A161169 A161170 A161171 KEYWORD nonn,easy AUTHOR Zerinvary Lajos, Jun 04 2009 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 October 14 18:28 EDT 2019. Contains 328022 sequences. (Running on oeis4.)