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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158724 Numbers n such that prime(n)^2 + 1 is a semiprime. 0
2, 3, 5, 8, 10, 17, 18, 20, 22, 26, 32, 34, 42, 46, 58, 70, 75, 80, 87, 89, 98, 104, 105, 115, 116, 121, 131, 133, 142, 152, 158, 167, 173, 175, 177, 180, 182, 189, 190, 193, 194, 218, 228, 232, 237, 239, 242, 267, 271, 280, 282, 291, 296, 326, 333, 337, 339, 347 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MATHEMATICA

lst={}; Do[If[Plus@@Last/@FactorInteger[Prime[n]^2+1]==2, AppendTo[lst, n]], {n, 0, 6!}]; lst

Select[Range[400], PrimeOmega[Prime[#]^2+1]==2&] (* From Harvey P. Dale, June 14 2011 *)

PROG

(PARI) n=0; forprime(p=2, 1e4, n++; if(bigomega(p^2+1)==2, print1(n", "))) \\ Charles R Greathouse IV, Jun 14 2011

CROSSREFS

Sequence in context: A022955 A087279 A084907 * A181100 A036961 A122633

Adjacent sequences:  A158721 A158722 A158723 * A158725 A158726 A158727

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 24 2009

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 15 10:28 EST 2012. Contains 205763 sequences.