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.

A062872 Nearest integer to geometric mean of n! and n^n.

Original entry on oeis.org

1, 1, 3, 13, 78, 612, 5796, 64426, 822470, 11856945, 190494094, 3374719084, 65351559893, 1373320643023, 31124359701926, 756718320351009, 19645797269948963, 542437979097898912, 15871685747774947593, 490576250611060132721, 15972108990755818357442
Offset: 0

Views

Author

Olivier Gérard, Jun 26 2001

Keywords

Crossrefs

Cf. A062871.

Programs

  • Mathematica
    Round[Sqrt[n!*n^n]] (there is no form text zone for Mathematica code)
  • Python
    from math import isqrt, factorial
    def A062872(n): return isqrt(factorial(n)*n**n<<2)+1>>1 # Chai Wah Wu, Jun 19 2024