%I #33 Jul 12 2023 12:43:41
%S 1,38,1444,54872,2085136,79235168,3010936384,114415582592,
%T 4347792138496,165216101262848,6278211847988224,238572050223552512,
%U 9065737908494995456,344498040522809827328,13090925539866773438464,497455170514937390661632
%N Powers of 38.
%C Same as Pisot sequences E(1, 38), L(1, 38), P(1, 38), T(1, 38). Essentially same as Pisot sequences E(38, 1444), L(38, 1444), P(38, 1444), T(38, 1444). See A008776 for definitions of Pisot sequences.
%C 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 38-colored compositions of n such that no adjacent parts have the same color. - _Milan Janjic_, Nov 17 2011. [See A000244 for a proof.]
%H T. D. Noe, <a href="/A009982/b009982.txt">Table of n, a(n) for n=0..100</a>
%H Tanya Khovanova, <a href="http://www.tanyakhovanova.com/RecursiveSequences/RecursiveSequences.html">Recursive Sequences</a>
%H <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (38).
%F G.f.: 1/(1 - 38*x). - _Philippe Deléham_, Nov 24 2008
%F a(n) = 38^n; a(n) = 38 * a(n-1), n > 0, a(0) = 1. - _Vincenzo Librandi_, Nov 21 2010
%t 38^Range[0, 19] (* _Alonso del Arte_, Feb 18 2017 *)
%o (Magma) [38^n: n in [0..20]] // _Vincenzo Librandi_, Nov 21 2010
%o (PARI) a(n)=38^n \\ _M. F. Hasler_, Feb 21 2017
%Y Cf. A000244 (powers of 3).
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_.
|