OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Petr Ambroz, Christiane Frougny, Zuzana Masakova and Edita Pelantova, Palindromic complexity of infinite words associated with simple Parry numbers, arXiv:math/0603608 [math.CO], 2006.
FORMULA
a(n) = ceiling(16*Fibonacci(n+1 + floor((n+1)/4))/(n+1)).
MAPLE
with(combinat); seq(ceil(16*fibonacci(n+1 + floor((n+1)/4))/(n+1)), n=1..35); # G. C. Greubel, Dec 02 2019
MATHEMATICA
Table[Ceiling[16*Fibonacci[n+1 +Floor[(n+1)/4]]/(n+1)], {n, 35}]
PROG
(PARI) vector(35, n, ceil(16*fibonacci(n+1 + (n+1)\4 )/(n+1)) ) \\ G. C. Greubel, Dec 02 2019
(Magma) [Ceiling(16*Fibonacci(n+1 +Floor((n+1)/4))/(n+1)): n in [1..35]]; // G. C. Greubel, Dec 02 2019
(Sage) [ceil(16*fibonacci(n+1 +floor((n+1)/4))/(n+1)) for n in (1..35)] # G. C. Greubel, Dec 02 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, May 12 2007
EXTENSIONS
Edited by G. C. Greubel, Dec 02 2019
STATUS
approved