OFFSET
1,2
COMMENTS
Except for 1 and 2, all other terms are divisible by 4. This sequence contains every nonnegative power of 2.
LINKS
C. Smyth, The terms in Lucas sequences divisible by their indices, Journal of Integer Sequences, Vol.13 (2010), Article 10.2.4.
EXAMPLE
For n=0,...,5 we have u(n)=0,1,2,1,-4,-11. Clearly n=1,2,4 divide their respective u(n).
MATHEMATICA
nn = 10000; s = LinearRecurrence[{2, -3}, {1, 2}, nn]; t = {}; Do[If[Mod[s[[n]], n] == 0, AppendTo[t, n]], {n, nn}]; t (* T. D. Noe, Nov 08 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas M. Bridge, Nov 08 2013
STATUS
approved