login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A009972 Powers of 28. 11

%I

%S 1,28,784,21952,614656,17210368,481890304,13492928512,377801998336,

%T 10578455953408,296196766695424,8293509467471872,232218265089212416,

%U 6502111422497947648,182059119829942534144,5097655355238390956032

%N Powers of 28.

%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 28-colored compositions of n such that no adjacent parts have the same color. - _Milan Janjic_, Nov 17 2011

%H T. D. Noe, <a href="/A009972/b009972.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 (28).

%F G.f.: 1/(1-28*x). - _Philippe Deléham_, Nov 24 2008

%F a(n) = 28^n; a(n) = 28*a(n-1), n > 0, a(0) = 1. - _Vincenzo Librandi_, Nov 21 2010

%t 28^Range[0, 13] (* _Alonso del Arte_, Feb 28 2015 *)

%t NestList[28#&,1,20] (* _Harvey P. Dale_, Jan 19 2019 *)

%o (Sage) [lucas_number1(n,28,0) for n in range(1, 17)] # _Zerinvary Lajos_, Apr 29 2009

%o (MAGMA) [28^n: n in [0..100]] // _Vincenzo Librandi_, Nov 21 2010

%o (PARI) a(n)=28^n \\ _Charles R Greathouse IV_, Sep 28 2015

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 12 03:07 EDT 2021. Contains 342912 sequences. (Running on oeis4.)