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”).

A140121
Primes of the form prime(x)*prime(x+1) + (prime(x+1)-prime(x)).
0
7, 17, 37, 673, 1153, 4093, 7393, 8641, 22501, 32401, 57601, 64513, 70753, 72901, 126733, 136897, 176401, 190093, 205201, 256033, 313597, 324901, 329473, 348097, 430333, 497017, 541693, 585217, 715681, 891133, 974161, 988033, 1238761, 1267873, 1416097, 1432801, 1664101, 1674433, 1742401, 1932037, 2005021, 2146201, 2238013, 2265001, 2480617, 2637373
OFFSET
1,1
EXAMPLE
2*3+(3-2) = 2*3+1 = 7, 23*29+(29-23) = 23*29+6 = 673.
MATHEMATICA
a = {}; Do[p1 = Prime[n]; p2 = Prime[n + 1]; p = p1*p2 + (p2 - p1); p3 = p2 - p1; If[PrimeQ[p], AppendTo[a, p]], {n, 10^2}]; a
(* Alternate: *) Select[(#[[1]] #[[2]]+#[[2]]-#[[1]])&/@Partition[ Prime[Range[300]], 2, 1], PrimeQ] (* Harvey P. Dale, Dec 03 2010 *)
CROSSREFS
Sequence in context: A214634 A172156 A273947 * A102770 A253663 A298369
KEYWORD
nonn
AUTHOR
EXTENSIONS
Additional terms from Harvey P. Dale, Dec 03 2010
STATUS
approved