OFFSET
1,2
LINKS
Marius A. Burtea, Table of n, a(n) for n = 1..230
PROG
(PARI) a(n) = {my(k); if (n>1, k = 2, k = 1); while (!isprime(6*k^n-1), k++); k; } \\ Michel Marcus, Sep 15 2019
(Magma) sol:=[1]; for n in [2..80] do k:=2; while not IsPrime(6*k^n-1) do k:=k+1; end while; Append(~sol, k); end for; sol; // Marius A. Burtea, Sep 15 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Feb 27 2009
EXTENSIONS
Corrected by Pierre CAMI, Mar 09 2009
Name clarified by Michel Marcus, Sep 15 2019
STATUS
approved