A072941 Least multiple of n having no prime gaps.
1, 2, 3, 4, 5, 6, 7, 8, 9, 30, 11, 12, 13, 210, 15, 16, 17, 18, 19, 60, 105, 2310, 23, 24, 25, 30030, 27, 420, 29, 30, 31, 32, 1155, 510510, 35, 36, 37, 9699690, 15015, 120, 41, 210, 43, 4620, 45, 223092870, 47, 48, 49, 150, 255255, 60060, 53, 54, 385
Offset: 1
Examples
a(99)=a(3*3*11)=3*3*5*7*11=3465.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Programs
-
Haskell
a072941 n = product $ zipWith (^) ps $ map (max 1) es where (ps, es) = unzip $ dropWhile ((== 0) . snd) $ zip a000040_list $ a067255_row n -- Reinhard Zumkeller, Dec 21 2013
Extensions
Example corrected by Nadia Heninger, Jul 06 2005
Comments