login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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
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 A341448
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)