login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088005 Numbers whose abundance is (+-1) times a prime. 5
3, 9, 10, 18, 20, 25, 36, 49, 50, 81, 100, 104, 121, 136, 196, 225, 289, 324, 338, 392, 464, 484, 576, 650, 676, 784, 800, 841, 900, 961, 968, 1058, 1089, 1156, 1225, 1250, 1352, 1682, 1936, 1952, 2209, 2312, 2450, 2500, 2888, 3136, 3364, 3721, 4225, 4356 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..50.

FORMULA

Abs[sigma(n)-2n] is a prime.

EXAMPLE

n=18: sigma[18]=18+9+6+3+2+1=39, 2n=36, abundance=3, a prime;

n=25: sigma[25]=25+5+1=31, 2n=50, abundance=-19.

MATHEMATICA

ab[x_] := DivisorSigma[1, x]-2*x Do[If[PrimeQ[s=ab[n]], Print[{n, s}]], {n, 1, 10000}]

CROSSREFS

Cf. A000203, A000040, A077374, A087998.

Sequence in context: A272653 A030794 A134073 * A125237 A085459 A092169

Adjacent sequences:  A088002 A088003 A088004 * A088006 A088007 A088008

KEYWORD

nonn

AUTHOR

Labos Elemer, Oct 18 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 22 13:09 EDT 2017. Contains 286872 sequences.