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.

Showing 1-1 of 1 results.

A071960 Largest k >= 0 such that Product_{i=0..k} (n+i) divides n!.

Original entry on oeis.org

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
Offset: 1

Views

Author

Benoit Cloitre, Jun 25 2002

Keywords

Comments

If a(n) > 0, a(n+1) = a(n) - 1.

Examples

			7*8*9*10 divides 7! hence a(7) = 3.
		

Crossrefs

Cf. A064778.

Programs

  • PARI
    for(n=1,150,s=0; while(sum(i=1,s,n!%(n+i))==0,s++); print1(s-1,","))

Formula

a(n) = A064778(n) - n.
Showing 1-1 of 1 results.