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

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A192321 Semiprime numbers n such that n^2 + n + 1 is prime. 5
6, 14, 15, 21, 33, 38, 57, 62, 69, 77, 111, 119, 141, 143, 155, 161, 194, 203, 206, 209, 215, 218, 278, 287, 309, 314, 329, 381, 395, 398, 447, 453, 489, 533, 537, 551, 554, 566, 579, 626, 635, 671, 755, 785, 818, 878, 899, 959, 974, 993, 1007, 1011, 1041, 1067, 1077, 1133, 1142, 1149, 1191, 1202, 1263 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

EXAMPLE

309 is in the sequence because 309 is semiprime (309 = 3 * 103) and 309^2 + 309 + 1 = 95791 is prime.

MATHEMATICA

Select[Range[2000], PrimeOmega[#]==2&&PrimeQ[#^2+#+1]&] (* Harvey P. Dale, Feb 26 2013 *)

PROG

(PARI) issemi(n)=bigomega(n)==2

is(n)=isprime(n^2+n+1) && issemi(n) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Intersection of A182253 and A001358.

Subsequence of A182253.

Sequence in context: A015822 A023883 A230873 * A190272 A107982 A218005

Adjacent sequences:  A192318 A192319 A192320 * A192322 A192323 A192324

KEYWORD

nonn,easy

AUTHOR

Jonathan Vos Post, Dec 19 2012

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 November 19 16:10 EST 2017. Contains 294936 sequences.