cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A120875 Product of twin primes minus 1.

Original entry on oeis.org

14, 34, 142, 322, 898, 1762, 3598, 5182, 10402, 11662, 19042, 22498, 32398, 36862, 39202, 51982, 57598, 72898, 79522, 97342, 121102, 176398, 186622, 213442, 272482, 324898, 359998, 381922, 412162, 435598, 656098, 675682, 685582, 736162
Offset: 1

Views

Author

Lekraj Beedassy, Jul 09 2006

Keywords

Comments

This sequence is a subsequence of A023515.

Crossrefs

Programs

  • Mathematica
    Times[#, # + 2] - 1 & /@ Select[Prime@ Range@ 150, PrimeQ[# + 2] &] (* Michael De Vlieger, Oct 23 2015 *)
  • PARI
    for(n=1, 200, if(prime(n+1)-prime(n)==2, print1(prime(n)*prime(n+1)-1", "))) \\ Altug Alkan, Oct 23 2015

Formula

a(n) = A037074(n)-1 = (A014574(n))^2 -2 = A075369(n)-2.
a(n) = 2*A120876(n). - Jason Kimberley, Oct 23 2015
a(n) = 36*A002822(n-1)^2-2, for n>1. - Jason Kimberley, Oct 23 2015
a(n) = A023515(A107770(n)). - Jason Kimberley, Oct 23 2015