OFFSET
1,1
COMMENTS
If 6*n-1 is prime, a(n) = 6*n-1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A020639(6n-1). - R. J. Mathar, Jan 23 2007
5 <= a(n) <= 6n - 1; both bounds are sharp. - Charles R Greathouse IV, Sep 02 2024
MATHEMATICA
a[n_]:= FactorInteger[6*n - 1][[1, 1]]; Array[a, 100]
PROG
(PARI) vector(100, n, vecmin(factor(6*n-1)[, 1])) \\ Altug Alkan, Oct 23 2015
(Magma) [Min(PrimeFactors(6*n-1)):n in[1..68]]; // Jason Kimberley, Oct 28 2015
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Zak Seidov, May 23 2005
EXTENSIONS
Comments corrected and (at the suggestion of Michel Marcus) moved to Crossrefs by Jason Kimberley, Oct 23 2015
STATUS
approved