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.

A126251 a(n) = (p+2)!/p! where p is the n-th lesser twin prime, A001359(n).

Original entry on oeis.org

20, 42, 156, 342, 930, 1806, 3660, 5256, 10506, 11772, 19182, 22650, 32580, 37056, 39402, 52212, 57840, 73170, 79806, 97656, 121452, 176820, 187056, 213906, 273006, 325470, 360600, 382542, 412806, 436260, 656910, 676506, 686412, 737022, 778806
Offset: 1

Views

Author

Zerinvary Lajos, Mar 08 2007

Keywords

Crossrefs

Subsequence of A002378.

Programs

  • Maple
    ZL:=[]:for p from 1 to 1653 do if (isprime(p) and isprime(p+2)) then ZL:=[op(ZL),((p+2)!/p!)]; fi; od; print(ZL);
  • Mathematica
    #[[2]]!/#[[1]]!&/@Select[Partition[Prime[Range[200]],2,1],#[[2]]-#[[1]] == 2&] (* Harvey P. Dale, Feb 16 2020 *)

Formula

a(n) = 2*A082669(n).

Extensions

Name edited by Michel Marcus, Apr 29 2023