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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018215 a(n) = n*4^n. 11
0, 4, 32, 192, 1024, 5120, 24576, 114688, 524288, 2359296, 10485760, 46137344, 201326592, 872415232, 3758096384, 16106127360, 68719476736, 292057776128, 1236950581248, 5222680231936, 21990232555520 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Bisection of A001787. That is, a(n) = A001787(2*n). - Graeme McRae, Jul 12 2006

All numbers of the form n*4^n+(4^n-1)/3 have the property that they are sums of two squares and also their indices are the sum of two squares. This follows from the identity n*4^n+(4^n-1)/3=4*(4*(..4*(4*n+1)+1)+1)+1..)+1. - Artur Jasinski, Nov 12 2007

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..300

Index entries for linear recurrences with constant coefficients, signature (8,-16).

FORMULA

G.f.: 4*x/(1-4*x)^2.

E.g.f.: 4*x*exp(4*x).

MATHEMATICA

Table[n 4^n, {n, 0, 20}] (* or *) LinearRecurrence[{8, -16}, {0, 4}, 30] (* Harvey P. Dale, Apr 22 2018 *)

PROG

(MAGMA) [n*4^n: n in [0..25]]; // Vincenzo Librandi, Jun 01 2011

(PARI) a(n) = n<<(2*n) \\ David A. Corneth, Apr 22 2018

CROSSREFS

Cf. A000302 (4^n), A001787, A002450.

Row n=4 of A258997.

Sequence in context: A268282 A271462 A270178 * A099133 A208710 A043018

Adjacent sequences:  A018212 A018213 A018214 * A018216 A018217 A018218

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, Peter Winkler (pw(AT)bell-labs.com)

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 19 17:03 EDT 2018. Contains 312779 sequences. (Running on oeis4.)