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.

Previous Showing 11-15 of 15 results.

A136702 Final nonzero digit of n! in base 16.

Original entry on oeis.org

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

Views

Author

Carl R. White, Jan 16 2008

Keywords

Examples

			6! = 720 decimal = 2D0 hexadecimal, so a(6) = 13.
		

Crossrefs

Programs

  • PARI
    a(n) = {d = digits(n!, 16); k = #d; while (!d[k] && (k!=1), k--); d[k];} \\ Michel Marcus, Sep 21 2016

A136693 Final nonzero digit of n! in base 6.

Original entry on oeis.org

1, 1, 2, 1, 4, 2, 2, 2, 4, 4, 4, 2, 4, 4, 2, 2, 2, 4, 2, 2, 4, 2, 2, 4, 4, 4, 2, 4, 4, 2, 4, 4, 2, 2, 2, 4, 4, 4, 2, 4, 4, 2, 2, 2, 4, 2, 2, 4, 2, 2, 4, 4, 4, 2, 2, 2, 4, 2, 2, 4, 4, 4, 2, 2, 2, 4, 2, 2, 4, 4, 4, 2, 4, 4, 2, 4, 4, 2, 2, 2, 4, 4, 4, 2, 4, 4, 2, 2, 2, 4, 4, 4, 2, 4, 4, 2, 2, 2, 4, 2
Offset: 0

Views

Author

Carl R. White, Jan 16 2008

Keywords

Examples

			6! = 720 decimal = 3200 senary, so a(6) = 2.
		

Crossrefs

Programs

  • Mathematica
    nzd6[n_]:=Module[{c=IntegerExponent[n!,6]},IntegerDigits[n!,6] [[-(c+1)]]]; Array[nzd6,100,0] (* Harvey P. Dale, Sep 02 2015 *)

A136700 Final nonzero digit of n! in base 14.

Original entry on oeis.org

1, 1, 2, 6, 10, 8, 6, 10, 10, 6, 4, 2, 10, 4, 4, 4, 8, 10, 12, 4, 10, 8, 8, 2, 6, 10, 8, 6, 12, 12, 10, 2, 8, 12, 2, 12, 12, 10, 2, 8, 12, 2, 6, 6, 12, 8, 4, 6, 8, 2, 2, 4, 12, 6, 2, 12, 6, 6, 12, 8, 4, 6, 8, 8, 8, 2, 6, 10, 8, 6, 2, 2, 4, 12, 6, 2, 12, 10, 10, 6, 4, 2, 10, 4, 10, 10, 6, 4, 2, 10, 4
Offset: 0

Views

Author

Carl R. White, Jan 16 2008

Keywords

Examples

			6! = 720 decimal = 396 quatridecimal, so a(6) = 6.
		

Crossrefs

A136754 Leading digit of n! in base 3.

Original entry on oeis.org

1, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 0

Views

Author

Carl R. White, Jan 21 2008

Keywords

Examples

			a(10) = 2 as 10! = 20211100210000_3 which has leading digit 2. - _David A. Corneth_, Jan 15 2021
		

Crossrefs

Programs

  • Mathematica
    Table[First[IntegerDigits[n!,3]],{n,0,87}] (* Stefano Spezia, Aug 25 2022 *)
  • PARI
    a(n, {b = 3}) = my(f = n!); f \ b^logint(f, b) \\ David A. Corneth, Jan 10 2021

Extensions

Missing a(0)=1 inserted by David A. Corneth, Jan 10 2021

A127110 n! in base 3.

Original entry on oeis.org

1, 1, 2, 20, 220, 11110, 222200, 20220200, 2001022100, 200102210000, 20211100210000, 2210002222120000, 1020101022210200000, 121001222020102200000, 22100000121100001100000, 11122000100002000202000000, 2202002012101012102212000000, 1201122101101102102110111000000
Offset: 0

Views

Author

Artur Jasinski, Jan 05 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[IntegerDigits[n!,3]],{n,0,17}] (* Stefano Spezia, Aug 25 2022 *)
  • PARI
    a(n) = fromdigits(digits(n!, 3), 10); \\ Michel Marcus, Sep 04 2021
Previous Showing 11-15 of 15 results.