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.

A069268 Greatest common divisor of n! and n*(n+1)/2.

Original entry on oeis.org

1, 1, 6, 2, 15, 3, 28, 36, 45, 5, 66, 6, 91, 105, 120, 8, 153, 9, 190, 210, 231, 11, 276, 300, 325, 351, 378, 14, 435, 15, 496, 528, 561, 595, 630, 18, 703, 741, 780, 20, 861, 21, 946, 990, 1035, 23, 1128, 1176, 1225, 1275, 1326
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 14 2002

Keywords

Crossrefs

Programs

  • Mathematica
    Table[GCD[n!,(n(n+1))/2],{n,60}] (* Harvey P. Dale, Oct 14 2013 *)

Formula

a(n) = if n>1 and n+1 is prime then n/2 else n*(n+1)/2.