editing
approved
editing
approved
Same as Pisot sequences E(1, 42), L(1, 42), P(1, 42), T(1, 42). Essentially same as Pisot sequences E(42, 1764), L(42, 1764), P(42, 1764), T(42, 1764). See A008776 for definitions of Pisot sequences.
approved
editing
(MAGMAMagma)[42^n: n in [0..20]] // Vincenzo Librandi, Nov 21 2010
proposed
approved
editing
proposed
(PARI) a(n) = 42^n; \\ Michel Marcus, Jan 14 2018
proposed
editing
editing
proposed
42^Range[0, 14] (* Michael De Vlieger, Jan 13 2018 *)
proposed
editing
editing
proposed
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 42-colored compositions of n such that no adjacent parts have the same color. - _Milan Janjic, _, Nov 17 2011
T. D. Noe, <a href="/A009986/b009986.txt">Table of n, a(n) for n = 0..100</a>
G.f.: 1/(1-42*x). [From _- _Philippe Deléham_, Nov 24 2008]
a(n) = 42^n; a(n) = 42*a(n-1) , a(0)=1 [From . - _Vincenzo Librandi, _, Nov 21 2010]
(MAGMA)[42^n: n in [0..20]] [From // _Vincenzo Librandi, _, Nov 21 2010]
approved
editing