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!)
A227470 Least k such that n divides sigma(n*k). 6

%I #25 May 06 2016 04:48:46

%S 1,3,2,3,8,1,4,7,10,4,43,2,9,2,8,21,67,5,37,6,20,43,137,5,149,9,34,1,

%T 173,4,16,21,27,64,76,22,73,37,6,3,163,10,257,43,6,137,281,11,52,76,

%U 67,45,211,17,109,4,49,173,353,2,169,8,32,93,72,27,401,67

%N Least k such that n divides sigma(n*k).

%C Theorem: a(n) always exists.

%C Proof: If n is a power of a prime, say n = p^a, then, by Euler's generalization of Fermat's little theorem and the multiplicative property of sigma, one can take k = x^(p^a-p^(a-1)-1) where x is a different prime from p. Similarly. if n = p^a*q^b, then take k = x^(p^a-p^(a-1)-1)*y^(q^b-q^(b-1)-1) where {x,y} are primes different from {p,q}. And so on. These k's have the desired property, and so there is always at least one candidate for the minimal k. - _N. J. A. Sloane_, May 01 2016

%H R. J. Mathar, <a href="/A227470/b227470.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = A272349(n)/n. - _R. J. Mathar_, May 06 2016

%e Least k such that 9 divides sigma(9*k) is k = 10: sigma(90) = 234 = 9*26. So a(9) = 10.

%e Least k such that 89 divides sigma(89*k) is k = 1024: sigma(89*1024) = 184230 = 89*2070. So a(89) = 1024.

%p A227470 := proc(n)

%p local k;

%p for k from 1 do

%p if modp(numtheory[sigma](k*n),n) =0 then

%p return k;

%p end if;

%p end do:

%p end proc: # _R. J. Mathar_, May 06 2016

%t lknds[n_]:=Module[{k=1},While[!Divisible[DivisorSigma[1,k*n],n],k++];k]; Array[lknds,70] (* _Harvey P. Dale_, Jul 10 2014 *)

%o (PARI) a227470(n) = {k=1; while(sigma(n*k)%n != 0, k++); k} \\ _Michael B. Porter_, Jul 15 2013

%Y Indices of 1's: A007691.

%Y Cf. A000203, A227302, A227303, A097018.

%Y See A272349 for the sequence [n*a(n)]. - _N. J. A. Sloane_, May 01 2016

%K nonn

%O 1,2

%A _Alex Ratushnyak_, Jul 12 2013

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