login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060359 { Smallest prime > LCM{1,2,...,n} } - { largest prime < LCM{1,2,...,n} }. 1
2, 2, 2, 2, 2, 14, 18, 18, 32, 32, 54, 54, 54, 40, 62, 62, 2, 2, 2, 2, 42, 42, 30, 30, 72, 72, 44, 44, 44, 42, 42, 42, 42, 42, 96, 96, 96, 96, 126, 126, 142, 142, 142, 142, 2, 2, 142, 142, 142, 142, 122, 122, 122, 122, 122, 122, 262, 262, 98, 98 (list; graph; refs; listen; history; internal format)
OFFSET

3,1

REFERENCES

Cf. A003418, A060357, A060358.

LINKS

Alois P. Heinz, Table of n, a(n) for n = 3..1020

MAPLE

a:= n-> (m->nextprime(m)-prevprime(m))(ilcm($1..n)):

seq (a(n), n=3..100);

MATHEMATICA

f[n_]:=Module[{lcmn=LCM@@Range[n]}, NextPrime[lcmn]-NextPrime[lcmn, -1]]; f/@Range[3, 70]  (* From Harvey P. Dale, Feb 04 2011 *)

CROSSREFS

Sequence in context: A088050 A058005 A095386 * A029665 A056993 A057331

Adjacent sequences:  A060356 A060357 A060358 * A060360 A060361 A060362

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Apr 01 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 10:53 EST 2012. Contains 205904 sequences.