OFFSET
1,2
COMMENTS
The prime Fibonacci numbers, A005478, are a subsequence.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..328
EXAMPLE
Example: 8=2*2*2, the number of prime factors is equal to 3, a Fibonacci number.
MATHEMATICA
With[{fibs=Fibonacci[Range[0, 50]]}, Rest[Select[fibs, MemberQ[fibs, PrimeOmega[#]]&]]] (* Harvey P. Dale, Oct 27 2011 *)
PROG
(PARI) isFibonacci(n)=my(k=n^2); k+=((k + 1) << 2); issquare(k) || (n > 0 && issquare(k-8))
select(n->isFibonacci(bigomega(n)), vector(99, i, fibonacci(i+1))) \\ Charles R Greathouse IV, Jun 17 2013
CROSSREFS
KEYWORD
nice,nonn
AUTHOR
Felice Russo, Sep 03 2002
STATUS
approved