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!)
A214710 Least m>0 such that n!-m and n!!-m are relatively prime. 2

%I #4 Jul 29 2012 02:32:30

%S 2,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,

%T 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,

%U 1,1,1,1,1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1

%N Least m>0 such that n!-m and n!!-m are relatively prime.

%H Clark Kimberling, <a href="/A214710/b214710.txt">Table of n, a(n) for n = 1..1000</a>

%e gcd(45!-1,45!!-1) = 47, gcd(45!-2, 45!!-2) = 1, so a(45) = 2.

%t Table[m = 1; While[GCD[n! - m, n!! - m] != 1, m++]; m, {n, 1, 140}]

%Y Cf. A214711, the positions of 2 in A214710.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jul 27 2012

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 19 03:46 EDT 2024. Contains 371782 sequences. (Running on oeis4.)