OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (16,0,0,0,0,1,-16).
FORMULA
a(n) = 16*a(n-1) + 10 + ((n - 1) mod 6) with a(1) = 10.
From Stefano Spezia, Jul 19 2021: (Start)
G.f.: x*(10 + 11*x + 12*x^2 + 13*x^3 + 14*x^4 + 15*x^5)/(1 - 16*x - x^6 + 16*x^7).
a(n) = 16*a(n-1) + a(n-6) - 16*a(n-7) for n > 7. (End)
PROG
(Haskell) a 1 = 10
a n = a (n - 1) * 16 + 10 + (n - 1) `mod` 6
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Peter Andrew, Jul 19 2021
STATUS
approved