OFFSET
0,2
COMMENTS
Same as Pisot sequences E(1, 49), L(1, 49), P(1, 49), T(1, 49). Essentially same as Pisot sequences E(49, 2401), L(49, 2401), P(49, 2401), T(49, 2401). 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 49-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 (49).
FORMULA
G.f.: 1/(1-49*x). - Philippe Deléham, Nov 24 2008
From Vincenzo Librandi, Nov 21 2010: (Start)
a(n) = 49^n;
a(n) = 49*a(n-1), a(0)=1. (End)
MATHEMATICA
49^Range[0, 20] (* or *) Join[{1}, NestList[49#&, 49, 20]] (* Harvey P. Dale, May 10 2019 *)
PROG
(Magma) [49^n: n in [0..20]]; // Vincenzo Librandi, Nov 21 2010
(Maxima) makelist(49^n, n, 0, 20); /* Martin Ettl, Nov 12 2012 */
(PARI) a(n)=49^n \\ M. F. Hasler, Apr 19 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Douglas Winston (douglas.winston(AT)srupc.com), Oct 02 2003
EXTENSIONS
Edited by M. F. Hasler, Apr 19 2015
STATUS
approved