OFFSET
1,1
COMMENTS
Denominators of w(k) are = 1,3 or 9 only.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 1, -1).
FORMULA
lim n -> infinity a(n)/n = 18/5. sequence contains numbers of form (5+18k), (11+18k), (16+18k), (17+18k), (18+18k) k>=0.
EXAMPLE
First 11 values of w(n) are 5/3, 23/9, 17/3, 31/3, 25, 143/3, 353/3, 2039/9, 1685/3, 3251/3, 2689 which are integers for k= 5 and 11 hence a(1)=5 a(2)=11
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 1, -1}, {5, 11, 16, 17, 18, 23}, 58] (* Ray Chandler, Aug 25 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Aug 06 2002
STATUS
approved