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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060361 { Smallest prime > LCM{1,2,...,n} } - LCM{1,2,...,n}. 1
1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 1, 13, 13, 31, 31, 31, 23, 19, 19, 1, 1, 1, 1, 41, 41, 1, 1, 31, 31, 43, 43, 1, 41, 41, 41, 41, 41, 53, 53, 53, 53, 79, 79, 59, 59, 59, 59, 1, 1, 59, 59, 59, 59, 61, 61, 61, 61, 61, 61, 113, 113, 97, 97, 97, 179, 179, 179, 73 (list; graph; refs; listen; history; internal format)
OFFSET

0,9

MATHEMATICA

f[n_]:=Module[{lcm=LCM@@Range[n]}, NextPrime[lcm]-lcm]; Join[{1}, Array[f, 70]] (* From Harvey P. Dale, May 20 2011 *)

CROSSREFS

Sequence in context: A010226 A066834 A010225 * A141596 A108477 A176204

Adjacent sequences:  A060358 A060359 A060360 * A060362 A060363 A060364

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 15 21:56 EST 2012. Contains 205860 sequences.