A134787 Numbers k such that Fibonacci(prime(k)) is not prime.
1, 8, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 85, 86
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[n: n in [1..100]| not IsPrime(Fibonacci(NthPrime(n)))]; // Vincenzo Librandi, Jan 18 2013
-
Mathematica
k = {}; Do[If[ ! PrimeQ[Fibonacci[Prime[n]]], AppendTo[k, n]], {n, 1, 100}]; k Select[Range[90],!PrimeQ[Fibonacci[Prime[#]]]&] (* Harvey P. Dale, Oct 16 2016 *)
-
PARI
is(n)=!isprime(fibonacci(prime(n))) \\ Charles R Greathouse IV, Feb 03 2014
Formula
a(n) = pi(A090819(n)). - Amiram Eldar, Oct 25 2024
Extensions
Definition corrected by N. J. A. Sloane, Nov 12 2007