OFFSET
1,2
COMMENTS
Since the absolute value of the discriminant of the characteristic polynomial is prime (=7), the sequence contains every nonnegative integer power of 7. Other terms are formed on multiplication of 7^k by sporadic primes.
LINKS
Chris 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
For k = 0, 1 , ..., 10, there is u(k) = 0,1,1,-1,-3,-1,5,7,-3,-17,-11. Clearly only k = 1 and k = 7 satisfy k divides u(k).
MATHEMATICA
nn = 10000; s = LinearRecurrence[{1, -2}, {1, 1}, nn]; t = {}; Do[If[Mod[s[[n]], n] == 0, AppendTo[t, n]], {n, nn}]; t (* T. D. Noe, Nov 08 2013 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Thomas M. Bridge, Nov 02 2013
EXTENSIONS
a(19)-a(29) from Amiram Eldar, May 28 2024
STATUS
approved