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

A120876
(Product of twin primes - 1)/2.
5
7, 17, 71, 161, 449, 881, 1799, 2591, 5201, 5831, 9521, 11249, 16199, 18431, 19601, 25991, 28799, 36449, 39761, 48671, 60551, 88199, 93311, 106721, 136241, 162449, 179999, 190961, 206081, 217799, 328049, 337841, 342791, 368081, 388961, 520199, 532511, 551249, 563921
OFFSET
1,1
COMMENTS
This sequence is a subsequence of A102770.
LINKS
FORMULA
a(n) = A120875(n)/2 = A075369(n)/2-1 = A075369(n)^2/2-1.
a(n) = 18*A002822(n-1)^2-1, for n>1.
a(n) = A102770(A107770(n)). - Jason Kimberley, Nov 10 2015
MATHEMATICA
(Times@@#-1)/2&/@Select[Partition[Prime[Range[200]], 2, 1], Last[#]- First[#]== 2&] (* Harvey P. Dale, Jun 26 2011 *)
PROG
(PARI) for(n=1, 200, if(prime(n+1)-prime(n)==2, print1((prime(n)*prime(n+1)-1)/2", "))) \\ Altug Alkan, Oct 23 2015
(PARI) p=2; forprime(q=3, 1e3, if(q-p==2, print1(p*q\2", ")); p=q) \\ Charles R Greathouse IV, Apr 01 2016
CROSSREFS
Cf. The subsequence A086870.
Sequence in context: A254500 A242907 A034054 * A216073 A086870 A107693
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Jul 09 2006
EXTENSIONS
Corrected by T. D. Noe, Oct 25 2006
Edited by Jason Kimberley, Oct 23 2015
STATUS
approved