cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A075054 Smallest k such that (n+1)(n+2)...(n+k) is divisible by n!.

This page as a plain text file.
%I A075054 #9 Dec 05 2013 19:55:35
%S A075054 1,2,3,4,5,4,7,8,9,10,11,12,13,14,13,16,17,18,19,20,21,22,23,24,25,26,
%T A075054 27,26,29,30,31,32,33,34,35,36,37,38,39,40,41,40,43,44,43,46,47,48,49,
%U A075054 50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,64,67,68,69,70,71,72
%N A075054 Smallest k such that (n+1)(n+2)...(n+k) is divisible by n!.
%C A075054 a(n) <= n. a(n) < n rarely, e.g. for n = 6, 15 etc. a(p) = p, p is a prime.
%H A075054 Harvey P. Dale, <a href="/A075054/b075054.txt">Table of n, a(n) for n = 1..1000</a>
%e A075054 a(6) = 4 as 7*8*9*10 is divisible by 6!= 720.
%t A075054 dnf[n_]:=Module[{nf=n!,k=1},While[!Divisible[Times@@Range[ n+1,n+k],nf],k++];k]; Array[dnf,80] (* _Harvey P. Dale_, Jun 19 2012 *)
%Y A075054 Cf. A075055, A058008.
%K A075054 nonn
%O A075054 1,2
%A A075054 _Amarnath Murthy_, Sep 07 2002
%E A075054 More terms from _Sascha Kurz_, Feb 02 2003
%E A075054 Edited by _Charles R Greathouse IV_, Aug 02 2010