OFFSET
0,2
COMMENTS
Same as Pisot sequences E(1, 32), L(1, 32), P(1, 32), T(1, 32). Essentially same as Pisot sequences E(32, 1024), L(32, 1024), P(32, 1024), T(32, 1024). 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 32-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
Philip DeOrsey, Stephen G. Hartke, and Jason Williford, A Classification of Hyperfocused 12-Arcs, arXiv:2105.08300 [math.CO], 2021.
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (32).
FORMULA
G.f.: 1/(1-32*x). - Philippe Deléham, Nov 24 2008
a(n) = 32^n; a(n) = 32*a(n-1) for n > 0, a(0)=1. - Vincenzo Librandi, Nov 21 2010
EXAMPLE
a(6) = 32^6 = 1073741824.
MAPLE
MATHEMATICA
Table[32^n, {n, 0, 50}] (* Wesley Ivan Hurt, Nov 04 2013 *)
PROG
(Sage) [lucas_number1(n, 32, 0) for n in range(1, 17)]# - Zerinvary Lajos, Nov 07 2009
(Magma)[32^n: n in [0..100]] - Vincenzo Librandi, Nov 21 2010
(Maxima) A009976(n):=32^n$
makelist(A009976(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
(PARI) a(n)=32^n \\ Charles R Greathouse IV, Sep 24 2015
(Python)
def A009976(n): return 1<<5*n # Chai Wah Wu, Nov 10 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved