login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

%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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 5 00:43 EDT 2020. Contains 333238 sequences. (Running on oeis4.)