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.

A062763 a(n) is the greatest common divisor of (n-1)! and n^n.

Original entry on oeis.org

1, 1, 1, 2, 1, 24, 1, 16, 9, 640, 1, 20736, 1, 7168, 6075, 2048, 1, 23887872, 1, 8192000, 321489, 2883584, 1, 10319560704, 625, 54525952, 59049, 2877292544, 1, 835884417024000000, 1, 67108864, 578739249, 36507222016, 187578125, 61628086298345472, 1
Offset: 1

Views

Author

Henry Bottomley, Jul 16 2001

Keywords

Comments

a(n) = 1 iff n is 1 or a prime.

Examples

			a(10) = gcd(9!, 10^10) = gcd(2^7*3^4*5*7, 2^10*5^10) = 2^7*5 = 640.
		

Crossrefs

Cf. A051696.

Programs

Formula

a(n) = A051696(n)/n.