OFFSET
1,2
COMMENTS
A subset of A023172.
All listed terms for n>2 are divisible by a(3) = 24 = 2^3*3.
All listed terms for n>3, except a(5), are divisible by a(4) = 168 = 2^3*3*7.
LINKS
Keith Schneider and Giovanni Resta, Table of n, a(n) for n = 1..776 (terms < 4*10^9, first 39 terms from Keith Schneider)
EXAMPLE
24 is a term because 24^2 = 2^6*3^2 divides 2*Fibonacci(24) = 2*46368 = 2^6*3^2*7*23.
MATHEMATICA
a=0; b=1; c=1; Do[a=b; b=c; c=a+b; If[Mod[2c, (n+2)^2]==0, Print[n+2]], {n, 1, 40000}] (* Stefan Steinerberger, May 15 2007 *)
A130163 = {1}; a = 0; b = 12; c = 3864; Do[If[Mod[24b, n^2] == 0, A130163 = Append[A130163, n]]; a = b; b = c; c = 322b - a; , {n, 12, 1000000, 12}];
Length[A130163]
(* Keith Schneider, May 27 2007 *)
PROG
(Magma) [n: n in [1..2*10^5] | 2*Fibonacci(n) mod n^2 eq 0 ]; // Vincenzo Librandi, Sep 17 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, May 14 2007
EXTENSIONS
More terms from Stefan Steinerberger, May 15 2007
a(14) corrected by N. J. A. Sloane, Nov 23 2007
STATUS
approved