OFFSET
0,1
LINKS
Tanya Khovanova, Recursive Sequences
Leo Tavares, Illustration: Hexagonal Wheels
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 2*(12*n+1) - a(n-1) = 2*a(n-1) - a(n-2) with a(0) = 7, a(1) = 19. - Vincenzo Librandi, Nov 19 2010
From Elmo R. Oliveira, Apr 02 2024: (Start)
G.f.: (7+5*x)/(1-x)^2.
E.g.f.: exp(x)*(7 + 12*x).
MATHEMATICA
12*Range[0, 200] + 7 (* Vladimir Joseph Stephan Orlovsky, Feb 19 2011 *)
PROG
(Sage) [i+7 for i in range(525) if gcd(i, 12) == 12] # Zerinvary Lajos, May 21 2009
(PARI) a(n)=12*n+7 \\ Charles R Greathouse IV, Jul 10 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved