OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1).
FORMULA
From Chai Wah Wu, Aug 04 2016: (Start)
a(n) = a(n-1) + a(n-28) - a(n-29) for n > 29.
G.f.: Sum_{k = 1..29} x^k /(1 - x - x^28 + x^29). (End)
MATHEMATICA
With[{nn=100}, Complement[Range[nn], Range[29, nn, 29]]] (* Harvey P. Dale, Mar 11 2013 *)
PROG
(Sage) [i for i in range(0, 100) if gcd(29, i) == 1]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, May 18 2009
STATUS
approved