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

A126251
a(n) = (p+2)!/p! where p is the n-th lesser twin prime, A001359(n).
2
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,1
LINKS
FORMULA
a(n) = 2*A082669(n).
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 *)
CROSSREFS
Subsequence of A002378.
Sequence in context: A256102 A128672 A290184 * A100515 A220006 A295795
KEYWORD
easy,nonn
AUTHOR
Zerinvary Lajos, Mar 08 2007
EXTENSIONS
Name edited by Michel Marcus, Apr 29 2023
STATUS
approved