OFFSET
3,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 3..840
MATHEMATICA
Select[Range[0, 7000], PrimeQ[Sqrt[6 # + 1]]&] (* Vincenzo Librandi, Apr 11 2013 *)
(Prime[Range[3, 60]]^2 -1)/6 (* G. C. Greubel, May 02 2024 *)
PROG
(Magma) [(p^2-1)/6: p in PrimesInInterval(4, 250)]; // Vincenzo Librandi, Apr 11 2013
(PARI) a(n) = (prime(n)^2-1)/6; \\ Michel Marcus, Mar 22 2016
(SageMath) [(n^2-1)//6 for n in prime_range(4, 301)] # G. C. Greubel, May 02 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 11 2003
STATUS
approved