login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086392 Numbers n such that n/2 is composite and F(n^2+1)==5 (mod n) where F(k) denotes the k-th Fibonacci number. 0

%I #13 Oct 19 2017 03:14:20

%S 8,42,88,174,232,242,248,282,322,462,488,568,572,638,646,658,682,754,

%T 796,884,902,968,1266,1302,1342,1562,1612,1672,1722,1798,1806,1974,

%U 1978,2108,2158,2162,2378,2542,2728,2756,2886,3102,3542,3638,3666,3738,3782

%N Numbers n such that n/2 is composite and F(n^2+1)==5 (mod n) where F(k) denotes the k-th Fibonacci number.

%t Select[Range[4000],CompositeQ[#/2]&&Mod[Fibonacci[#^2+1],#]==5&] (* _Harvey P. Dale_, Jan 11 2017 *)

%o (PARI) isok(n) = !(n%2) && !isprime(n/2) && ((fibonacci(n^2+1) % n) == 5); \\ _Michel Marcus_, Dec 06 2013

%Y Cf. A086367.

%K nonn

%O 1,1

%A _Benoit Cloitre_, Sep 06 2003

%E More terms from _Don Reble_, Sep 16 2003

%E More terms from _Michel Marcus_, Dec 06 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)