cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A084960 Initial prime of a prime chain of length n under the iteration x->5x+4.

Original entry on oeis.org

2, 3, 5, 83, 263, 5333, 5333, 6714497, 42360737, 3757699889, 3757699889, 1431898413161, 5654774136689, 12756824771254199, 184574272412533499
Offset: 1

Views

Author

W. Edwin Clark, Jun 14 2003

Keywords

Comments

This is a special case of prime chains generated by f(x) = c*x + d.

Examples

			a(3) = 5 since 5, f(5) = 29 and f(29) = 149 are primes when f(x) = 5x+4.
		

Crossrefs

Programs

  • Mathematica
    t[p_] := Block[{c=1, q = 5*p+4}, While[ PrimeQ@q, q = 5*q + 4; c++]; c]; a[n_] := Block[{p = 2}, While[t[p] < n, p = NextPrime@ p]; p]; Array[a, 8] (* Giovanni Resta, Mar 21 2017 *)

Extensions

a(9) from Stefan Steinerberger, May 18 2007
a(10)-a(11) from Donovan Johnson, Sep 27 2008
a(12)-a(13) from Giovanni Resta, Mar 21 2017
a(14)-a(15) from Bert Dobbelaere, May 30 2025