login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071960 Largest k >= 0 such that Product_{i=0..k} (n+i) divides n!. 1
0, 0, 0, 0, 1, 0, 3, 2, 1, 0, 1, 0, 3, 2, 1, 0, 1, 0, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 1, 0, 5, 4, 3, 2, 1, 0, 3, 2, 1, 0, 1, 0, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 1, 0, 5, 4, 3, 2, 1, 0, 3, 2, 1, 0, 1, 0, 5, 4, 3, 2, 1, 0, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 7, 6, 5, 4, 3, 2, 1, 0, 3, 2, 1, 0, 1, 0, 3, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
If a(n) > 0, a(n+1) = a(n) - 1.
LINKS
FORMULA
a(n) = A064778(n) - n.
EXAMPLE
7*8*9*10 divides 7! hence a(7) = 3.
PROG
(PARI) for(n=1, 150, s=0; while(sum(i=1, s, n!%(n+i))==0, s++); print1(s-1, ", "))
CROSSREFS
Cf. A064778.
Sequence in context: A242928 A214845 A366766 * A056898 A204065 A275281
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Jun 25 2002
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)