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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065512 Numbers n such that sigma(n) + 1 is prime. 1
1, 3, 5, 6, 10, 11, 12, 17, 20, 22, 24, 26, 27, 29, 30, 38, 41, 42, 45, 46, 51, 55, 59, 62, 68, 69, 71, 77, 82, 85, 88, 91, 99, 101, 104, 105, 106, 107, 108, 114, 116, 118, 125, 126, 132, 135, 136, 137, 140, 141, 145, 146, 147, 149, 150, 155, 158, 160, 161 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

sigma(10) + 1 = 18 + 1 = 19 (prime). sigma(24) + 1 = 60 + 1 = 61 (prime).

MATHEMATICA

Select[ Range[170], PrimeQ[ DivisorSigma[1, # ] + 1] & ]

PROG

(PARI) { n=0; for (m=1, 10^9, if (isprime(sigma(m) + 1), write("b065512.txt", n++, " ", m); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Oct 20 2009]

CROSSREFS

Cf. A000203.

Sequence in context: A102372 A095829 A182637 * A066147 A175304 A140951

Adjacent sequences:  A065509 A065510 A065511 * A065513 A065514 A065515

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Nov 26 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 17 00:09 EST 2012. Contains 205978 sequences.