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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064271 Numbers n such that sigma(n)-2n is prime. 1
18, 20, 36, 100, 104, 196, 324, 392, 464, 576, 650, 784, 800, 900, 968, 1352, 1936, 1952, 2450, 2500, 3136, 4356, 4624, 5184, 6050, 6400, 9216, 10000, 10404, 10816, 12800, 13456, 14400, 15376, 15488, 16928, 18496, 20000, 20736, 23104, 26912 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

EXAMPLE

n=100: sigma(100)-2*100 = 17.

PROG

(PARI) j=[]; for(n=1, 50000, x=sigma(n)-2*n; if(x>0 && isprime(x), j=concat(j, n))); j

(PARI) { n=0; for (m=1, 10^9, if (isprime(sigma(m) - 2*m), write("b064271.txt", n++, " ", m); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 11 2009]

CROSSREFS

Sequence in context: A186781 A164711 A036170 * A113541 A181453 A113542

Adjacent sequences:  A064268 A064269 A064270 * A064272 A064273 A064274

KEYWORD

easy,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Sep 23 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 09:50 EST 2012. Contains 205904 sequences.