OFFSET
1,1
COMMENTS
The first 12 numbers of the form 5*n^2 - 5*n + 13 (n=1 to 12) are primes.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MAPLE
select(isprime, [seq(5*n^2-5*n+13, n=1..75)]); # Muniru A Asiru, Oct 21 2018
MATHEMATICA
Select[Table[5n^2-5n+13, {n, 80}], PrimeQ] (* Harvey P. Dale, Aug 22 2021 *)
PROG
(PARI) terms(n) = my(i=0); for(k=1, oo, my(x=5*k^2-5*k+13); if(ispseudoprime(x), print1(x, ", "); i++); if(i==n, break))
/* Print initial 50 terms as follows */
terms(50) \\ Felix Fröhlich, Oct 20 2018
(GAP) Filtered(List([1..75], n->5*n^2-5*n+13), IsPrime); # Muniru A Asiru, Oct 21 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Arashdeep Singh, Oct 20 2018
EXTENSIONS
More terms from Felix Fröhlich, Oct 20 2018
STATUS
approved