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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A009974 Powers of 30. 3
1, 30, 900, 27000, 810000, 24300000, 729000000, 21870000000, 656100000000, 19683000000000, 590490000000000, 17714700000000000, 531441000000000000, 15943230000000000000, 478296900000000000000, 14348907000000000000000 (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 30-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 (30).

FORMULA

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

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

PROG

(Sage) [lucas_number1(n, 30, 0) for n in xrange(1, 17)]# - Zerinvary Lajos, Apr 29 2009

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

(PARI) a(n)=30^n \\ Charles R Greathouse IV, Jun 19 2015

(PARI) powers(30, 12) \\ Charles R Greathouse IV, Jun 19 2015

CROSSREFS

Sequence in context: A056389 A056379 A171304 * A041421 A042742 A144350

Adjacent sequences:  A009971 A009972 A009973 * A009975 A009976 A009977

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 April 26 03:45 EDT 2017. Contains 285426 sequences.