login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A230515
Numbers n such that n*(n+1)-1 is a Sophie Germain prime.
2
2, 3, 5, 6, 9, 11, 15, 20, 38, 39, 45, 48, 50, 54, 59, 93, 126, 131, 144, 149, 153, 174, 176, 218, 231, 236, 240, 246, 248, 263, 285, 306, 309, 330, 335, 374, 380, 395, 396, 401, 419, 423, 449, 455, 468, 471, 474, 495, 501, 506, 549, 551, 560, 588
OFFSET
1,1
COMMENTS
This sequence is interesting because of the conjecture associated with A230514.
EXAMPLE
a(1) = 2 since 2*3 - 1 = 5 is a Sophie Germain prime.
a(2) = 3 since 3*4 - 1 = 11 is a Sophie Germain prime.
a(3) = 5 since 5*6 - 1 = 29 is a Sophie Germain prime but 4*5 - 1 = 19 is not.
MATHEMATICA
q[n_]:=PrimeQ[n(n+1)-1]&&PrimeQ[2n(n+1)-1]
m=0
Do[If[q[n], m=m+1; Print[m, " ", n]], {n, 1, 506}]
Select[Range[600], AllTrue[{#^2+#-1, 2#^2+2#-1}, PrimeQ]&] (* Harvey P. Dale, Dec 02 2021 *)
PROG
(Magma) [n: n in [1..600] | IsPrime(n*(n+1)-1) and IsPrime(2*n*(n+1)-1)]; // Bruno Berselli, Oct 22 2013
CROSSREFS
Subsequence of A045546.
Sequence in context: A309830 A008770 A347548 * A030068 A239958 A008769
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Oct 21 2013
STATUS
approved