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!)
A233561 Products p*q of distinct primes such that (p*q - 1)/2 is prime. 5
15, 35, 39, 87, 95, 119, 123, 143, 159, 203, 215, 219, 299, 303, 327, 335, 395, 447, 515, 527, 543, 623, 635, 695, 699, 707, 767, 779, 803, 843, 879, 899, 923, 959, 1007, 1043, 1047, 1115, 1139, 1199, 1203, 1227, 1263, 1347, 1355, 1383, 1403, 1623, 1643 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
15 = 3*5 is the least product of distinct primes p and q for which (p*q - 1)/2 is prime, so a(1) = 15.
MATHEMATICA
t = Select[Range[1, 7000, 2], Map[Last, FactorInteger[#]] == Table[1, {2}] &]; Take[(t - 1)/2, 120] (* A234093 *)
v = Flatten[Position[PrimeQ[(t - 1)/2], True]] ; w = Table[t[[v[[n]]]], {n, 1, Length[v]}] (* A233561 *)
(w - 1)/2 (* A234095 *) (* Peter J. C. Moses, Dec 23 2013 *)
With[{upto=2000}, Select[Times@@#&/@Select[Subsets[Prime[Range[ PrimePi[ upto/2]]], {2}], PrimeQ[(Times@@#-1)/2]&]//Union, #<=upto&]] (* Harvey P. Dale, Nov 02 2017 *)
CROSSREFS
Sequence in context: A080774 A146319 A238605 * A114988 A130871 A332378
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Dec 14 2013
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 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)