OFFSET
1,2
COMMENTS
Least common multiple of prime(n)-2 and prime(n)+2.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
f[n_]:=LCM[n-2, n+2]; lst={}; Do[p=Prime[n]; AppendTo[lst, f[p]], {n, 5!}]; lst
Prime[Range[5!]]^2 - 4 (* Zak Seidov, Apr 17 2012 *)
PROG
(Magma) [NthPrime(n)^2-4: n in [1..41]]; // Bruno Berselli, Apr 17 2012
(PARI) a(n)=prime(n)^2-4 \\ Charles R Greathouse IV, Apr 17 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Oct 04 2009
EXTENSIONS
Definition rewritten by Bruno Berselli, Apr 17 2012
STATUS
approved