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!)
A091301 Primes of the form p*q + p - q, where p and q are distinct primes. 3
5, 7, 13, 17, 19, 29, 31, 37, 41, 43, 61, 67, 73, 89, 97, 103, 109, 113, 127, 137, 139, 149, 151, 157, 181, 193, 197, 199, 211, 229, 233, 241, 257, 271, 277, 281, 283, 307, 313, 317, 337, 349, 353, 373, 379, 389, 397, 401, 409, 421, 433, 449, 457, 461, 463, 487 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
nn=100; Take[Select[Union[Flatten[{First[#]*Last[#]+First[#]-Last[#], First[#]*Last[#]- First[#]+Last[#]}&/@Subsets[Prime[Range[nn]], {2}]]], PrimeQ], nn] (* Harvey P. Dale, Jul 12 2014 *)
PROG
(PARI) list(lim)=my(v=List(), t); forprime(q=2, lim, forprime(p=2, (lim+q)\(q+1), if(ispseudoprime(t=p*q+p-q), listput(v, t)))); vecsort(Vec(v), , 8) \\ Charles R Greathouse IV, Feb 15 2011
CROSSREFS
Primes of the form p*q+p+q, where p and q are primes, are in A066938.
Cf. A091310.
Sequence in context: A136089 A337811 A040995 * A040125 A106067 A287614
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Feb 21 2004
EXTENSIONS
Definition clarified by Harvey P. Dale, Jul 12 2014
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 25 10:47 EDT 2024. Contains 371967 sequences. (Running on oeis4.)