A244975 a(n) = (7^n - 2*n - 1)/4.
0, 1, 11, 84, 598, 4199, 29409, 205882, 1441196, 10088397, 70618807, 494331680, 3460321794, 24222252595, 169555768205, 1186890377478, 8308232642392, 58157628496793, 407103399477603, 2849723796343276, 19948066574402990, 139636466020820991, 977455262145747001
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- K. W. Shum, On Conflict-Avoiding Codes of Weight Three and Odd Length, The Fifth International Workshop on Signal Design and Its Applications in Communications, October 10-14, 2011, Guilin, China.
- Index entries for linear recurrences with constant coefficients, signature (9,-15,7).
Programs
-
Magma
[(7^n-2*n-1)/4: n in [0..25]];
-
Mathematica
Table[(7^n - 2 n - 1)/4, {n, 0, 30}] (* or *) CoefficientList[Series[x (1 + 2 x)/((1 - 7 x) (1 - x)^2), {x, 0, 30}], x]
Formula
G.f.: x*(1+2*x)/((1-7*x)*(1-x)^2).
a(n) = 9*a(n-1) - 15*a(n-2) + 7*a(n-3). - Robert Israel, Jul 09 2014
From Elmo R. Oliveira, Apr 02 2025: (Start)
E.g.f.: exp(x)*(exp(6*x) - (2*x + 1))/4.
Extensions
Edited by Bruno Berselli, Jul 09 2014
Comments