OFFSET
0,2
COMMENTS
Same as Pisot sequences E(1, 30), L(1, 30), P(1, 30), T(1, 30). Essentially same as Pisot sequences E(30, 900), L(30, 900), P(30, 900), T(30, 900). See A008776 for definitions of Pisot sequences.
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
MATHEMATICA
NestList[30#&, 1, 20] (* Harvey P. Dale, Jul 21 2023 *)
PROG
(Sage) [lucas_number1(n, 30, 0) for n in range(1, 17)] # Zerinvary Lajos, Apr 29 2009
(Magma)[30^n: n in [0..100]] // 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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved