OFFSET
1,2
COMMENTS
Every term (except leading term) is divisible by at least one of 3 or 5.
Furthermore, this sequence contains 3^i*5^j for all i, j >= 0, that is, A003593 is a subsequence.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
C. Smyth, The terms in Lucas sequences divisible by their indices, Journal of Integer Sequences, Vol.13 (2010), Article 10.2.4.
Wikipedia, Lucas sequence
EXAMPLE
The sequence u(i) begins 0, 1, 1, -3, -7, 5, 33. Only for k = 1, 3, 5 does k divides u(k).
MATHEMATICA
nn = 10000; s = LinearRecurrence[{1, -4}, {1, 1}, nn]; t = {}; Do[If[Mod[s[[n]], n] == 0, AppendTo[t, n]], {n, nn}]; t (* T. D. Noe, Nov 06 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas M. Bridge, Nov 06 2013
STATUS
approved