login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166010 a(n) = prime(n)^2-4. 5
0, 5, 21, 45, 117, 165, 285, 357, 525, 837, 957, 1365, 1677, 1845, 2205, 2805, 3477, 3717, 4485, 5037, 5325, 6237, 6885, 7917, 9405, 10197, 10605, 11445, 11877, 12765, 16125, 17157, 18765, 19317, 22197, 22797, 24645, 26565, 27885, 29925, 32037 (list; graph; refs; listen; history; text; internal format)
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

a(n) = A001248(n)-4 = A040976(n)*A052147(n). [Bruno Berselli, Apr 17 2012]

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

Cf. A066830, A084921, A166011.

Cf. A049001, A084920, A182200; A182174.

Sequence in context: A078371 A265056 A049741 * A146846 A296200 A041825

Adjacent sequences:  A166007 A166008 A166009 * A166011 A166012 A166013

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Oct 04 2009

EXTENSIONS

Definition rewritten by Bruno Berselli, Apr 17 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 04:05 EST 2020. Contains 332034 sequences. (Running on oeis4.)