OFFSET
1,1
COMMENTS
EXAMPLE
For Fib(n) to be prime, n must be prime, except for n=4. The first 9 primes are: 2, 3, 5, 7, 11, 13, 17, 19 and 23. The corresponding Fibonacci numbers are: 1, 2, 5, 13, 89, 233, 1597, 4181 and 28657. All of these are prime except Fib(2) = 1 and Fib(19) = 4181. So the first 7 terms of this sequence are 3, 5, 7, 11, 13, 17 and 23.
MATHEMATICA
Do[ If[ PrimeQ[ Fibonacci[ Prime[n]]], Print[ Prime[n]]], {n, 1, 1000}]
PROG
(PARI) pif(n) = { forprime(x=2, n, if(isprime(fibonacci(x)), print1(x" "))) }
(PARI) is(p)=isprime(p) & ispseudoprime(fibonacci(p)) \\ Charles R Greathouse IV, Sep 19 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jun 14 2003
EXTENSIONS
More terms from Zak Seidov, Aug 31 2006
Replaced the erroneous example Harry J. Smith, Jan 16 2009
Terms a(42) to a(47) added by V. Raman, Oct 04 2012
Definition and wrong statement in example corrected by M. F. Hasler, Oct 08 2012
STATUS
approved