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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A009976 Powers of 32. 18
1, 32, 1024, 32768, 1048576, 33554432, 1073741824, 34359738368, 1099511627776, 35184372088832, 1125899906842624, 36028797018963968, 1152921504606846976, 36893488147419103232, 1180591620717411303424 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The compositions of n in which each natural number is colored by one of p different colors are called p-colored compositions of n. For n>=1, a(n) equals the number of 32-colored compositions of n such that no adjacent parts have the same color. - Milan Janjic, Nov 17 2011

LINKS

T. D. Noe, Table of n, a(n) for n = 0..100

Tanya Khovanova, Recursive Sequences

Index entries for linear recurrences with constant coefficients, signature (32).

FORMULA

G.f.: 1/(1-32*x). - Philippe Deléham, Nov 24 2008

a(n)=32^n; a(n)=32*a(n-1) n>0 a(0)=1. - Vincenzo Librandi, Nov 21 2010

EXAMPLE

a(6) = 32^6 = 1073741824.

MAPLE

A009976:=n->32^n; seq(A009976(k), k=0..50); # Wesley Ivan Hurt, Nov 04 2013

MATHEMATICA

Table[32^n, {n, 0, 50}] (* Wesley Ivan Hurt, Nov 04 2013 *)

PROG

(Sage) [lucas_number1(n, 32, 0) for n in xrange(1, 17)]# - Zerinvary Lajos, Nov 07 2009

(MAGMA)[32^n: n in [0..100]] - Vincenzo Librandi, Nov 21 2010

(Maxima) A009976(n):=32^n$

makelist(A009976(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */

(PARI) a(n)=32^n \\ Charles R Greathouse IV, Sep 24 2015

CROSSREFS

Sequence in context: A223566 A227593 A171306 * A144319 A041481 A158685

Adjacent sequences:  A009973 A009974 A009975 * A009977 A009978 A009979

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

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 March 26 18:46 EDT 2017. Contains 284137 sequences.