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.

A136763 a(n) = leading digit of n! in base 13.

Original entry on oeis.org

1, 1, 2, 6, 1, 9, 4, 2, 1, 12, 9, 8, 7, 7, 8, 9, 11, 1, 1, 2, 3, 5, 9, 1, 2, 4, 9, 1, 3, 7, 1, 3, 7, 1, 3, 10, 2, 6, 1, 4, 1, 3, 10, 2, 9, 2, 8, 2, 8, 2, 9, 2, 11, 3, 1, 4, 1, 7, 2, 11, 4, 1, 6, 2, 12, 4, 1, 9, 3, 1, 8, 3, 1, 8, 3, 1, 9, 4, 2, 12, 5, 2, 1, 8, 4, 2, 1, 7, 3, 2, 1, 7, 4, 2, 1, 9, 5, 3, 1, 1
Offset: 0

Views

Author

Carl R. White, Jan 21 2008

Keywords

Examples

			a(10) = 9 as 10! = 9100926_13 which has leading digit 9. - _David A. Corneth_, Jan 15 2021
		

Crossrefs

Programs

  • Mathematica
    Table[First[IntegerDigits[n!,13]],{n,0,100}] (* Harvey P. Dale, Dec 20 2015 *)
  • PARI
    a(n) = digits(n!, 13)[1]; \\ Michel Marcus, Jan 27 2015