OFFSET
1,2
COMMENTS
Numbers {1, 3, 7, 13, 19, 25, 27, 31, 39, 43, 49, 51} mod 60.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1).
FORMULA
From Chai Wah Wu, Jul 24 2016: (Start)
a(n) = a(n-1) + a(n-12) - a(n-13) for n > 13.
G.f.: x*(9*x^12 + 2*x^11 + 6*x^10 + 4*x^9 + 8*x^8 + 4*x^7 + 2*x^6 + 6*x^5 + 6*x^4 + 6*x^3 + 4*x^2 + 2*x + 1)/(x^13 - x^12 - x + 1). (End)
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {1, 3, 7, 13, 19, 25, 27, 31, 39, 43, 49, 51, 61}, 60] (* Harvey P. Dale, Mar 11 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Jun 19 2000
STATUS
approved