A116889 a(n) is the least prime p that remains prime through n iterations of function f(p)=p^2+4.
2, 3, 3, 5087, 306167
Offset: 0
Examples
a(0)=2 since f(2)=8 is not prime. a(1)=a(2)=3 since both f(3)=13 and f(f(3))=173 are primes.
Extensions
Typo in Example fixed by Zak Seidov, Nov 07 2013
Comments