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!)
A155012 Fibonacci prime numbers f, 3*f+2 are also primes. 0
3, 5, 13, 89, 233, 1597, 514229, 99194853094755497, 19134702400093278081449423917 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
3*3+2=11, 3*5+2=17, 3*13+2=41, ...
LINKS
MATHEMATICA
a={}; Do[f=Fibonacci[n]; If[PrimeQ[f], If[PrimeQ[3*f+2], AppendTo[a, f]]], {n, 4*6!}]; a
PROG
(Python)
from gmpy2 import is_prime
A155012_list = []
a, b, a2, b2 = 0, 1, 2, 5
for _ in range(10**3):
if is_prime(b) and is_prime(b2):
A155012_list.append(b)
a, b, a2, b2 = b, a+b, b2, a2+b2-2 # Chai Wah Wu, Nov 04 2015
CROSSREFS
Sequence in context: A239381 A180313 A053630 * A121533 A187733 A087170
KEYWORD
nonn
AUTHOR
STATUS
approved

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 May 6 13:11 EDT 2024. Contains 372293 sequences. (Running on oeis4.)