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!)
A071544 Smallest k such that n+k divides (k+1)!-k!. 0

%I #8 Nov 26 2013 02:31:20

%S 5,2,3,4,5,3,5,4,6,5,7,4,7,6,3,8,7,6,5,4,6,8,7,6,5,6,8,4,7,6,9,8,7,6,

%T 5,9,8,7,6,8,7,6,11,4,5,10,9,6,7,10,9,8,7,6,5,7,13,12,11,10,9,8,7,8,7,

%U 6,13,12,11,5,9,8,7,6,9,8,7,12,11,10,9,8,7,6,11,10,9,8,11,6,7,4,12,11,5

%N Smallest k such that n+k divides (k+1)!-k!.

%o (PARI) a(n) = {k = 1; while (((k+1)! - k!) % (n+k), k++); k;} \\ _Michel Marcus_, Nov 26 2013

%K easy,nonn

%O 1,1

%A _Benoit Cloitre_, May 30 2002

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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)