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!)
A245779 Numbers n such that (n/tau(n) - sigma(n)/n) < 1. 5
1, 2, 3, 4, 6, 8, 10, 12, 18, 24 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers n such that A245776(n)/A245777(n) = n/A000005(n) - A000203(n)/n < 1.
Finite sequence with 10 terms.
LINKS
EXAMPLE
24 is in sequence because 24/tau(24) - sigma(24)/24 = 24/8 - 60/24 = 1/2.
MATHEMATICA
a245779[n_Integer] :=
Select[Range[n],
If[#/DivisorSigma[0, #] - DivisorSigma[1, #]/# < 1, True, False] &]; a245779[1000] (* Michael De Vlieger, Aug 07 2014 *)
Select[Range[25], #/DivisorSigma[0, #]-DivisorSigma[1, #]/#<1&] (* Harvey P. Dale, Nov 21 2023 *)
PROG
(Magma) [n:n in [1..1000000] | (Numerator((n /(#[d: d in Divisors(n)]))-(SumOfDivisors(n)/n))) / (Denominator((n/(#[d: d in Divisors(n)]))-(SumOfDivisors(n)/n))) lt 1]
(PARI)
for(n=1, 10^3, if(n/numdiv(n) - sigma(n)/n < 1, print1(n, ", "))) \\ Derek Orr, Aug 02 2014
CROSSREFS
Sequence in context: A216365 A034287 A067128 * A120432 A020490 A217660
KEYWORD
nonn,fini,full
AUTHOR
Jaroslav Krizek, Aug 02 2014
STATUS
approved

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 13:30 EDT 2024. Contains 371957 sequences. (Running on oeis4.)