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!)
A082551 Denote sigma(n)-n by s(n); a(n)=1 if s(n)>n, a(n)=0 if s(n)=n, a(n)=-1 if s(n)<n. 2
-1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, 0, -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, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = sign(A033880(n)).
MAPLE
A082551 := proc(n)
signum( numtheory[sigma](n)-2*n) ;
end proc: # R. J. Mathar, Sep 28 2011
MATHEMATICA
Table[Sign[DivisorSigma[1, n] - 2*n], {n, 1, 100}] (* Amiram Eldar, Mar 15 2024 *)
PROG
(PARI) A082551(n) = sign(sigma(n)-(2*n)); \\ Antti Karttunen, Sep 28 2018
CROSSREFS
Sequence in context: A174340 A300294 A071041 * A152614 A127507 A204441
KEYWORD
easy,sign
AUTHOR
Hanoch M. bin (hanochb(AT)shiron.com), May 12 2003
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 July 13 10:13 EDT 2024. Contains 374282 sequences. (Running on oeis4.)