This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A060634 Union of Fibonacci numbers and prime numbers. 1

%I

%S 1,2,3,5,7,8,11,13,17,19,21,23,29,31,34,37,41,43,47,53,55,59,61,67,71,

%T 73,79,83,89,97,101,103,107,109,113,127,131,137,139,144,149,151,157,

%U 163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251

%N Union of Fibonacci numbers and prime numbers.

%H Harry J. Smith, <a href="/A060634/b060634.txt">Table of n, a(n) for n = 1..1000</a>

%t Module[{nn=15,fib},fib=Fibonacci[Range[nn]];Union[Join[fib, Prime[ Range[ PrimePi[ Last[fib]]]]]]] (* _Harvey P. Dale_, Apr 21 2013 *)

%o (PARI) { p=2; f=1; g=1; for (n=1, 1000, if (f<p, a=f; s=f; f+=g; g=s, a=p; q=p; p=nextprime(p + 1); if (q==f, s=f; f+=g; g=s); ); write("b060634.txt", n, " ", a); ) } \\ _Harry J. Smith_, Jul 08 2009

%Y Cf. A000040, A000045.

%K nonn,easy

%O 1,2

%A Jose' R. Brox (ambroxius2(AT)eresmas.com), Apr 15 2001

%E More terms from _Erich Friedman_, Jun 03 2001

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

Last modified April 25 12:04 EDT 2019. Contains 322456 sequences. (Running on oeis4.)