login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126251 a(n)=(p+2)!/p! if p prime and p+2 prime. 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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n)=2*A082669

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

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

Cf. A082669.

Sequence in context: A256102 A128672 A290184 * A100515 A220006 A295795

Adjacent sequences:  A126248 A126249 A126250 * A126252 A126253 A126254

KEYWORD

easy,nonn

AUTHOR

Zerinvary Lajos, Mar 08 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 4 05:35 EDT 2022. Contains 355064 sequences. (Running on oeis4.)