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.

A088154 Value of n-th digit in duodecimal representation of n^n.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Sep 20 2003

Keywords

Comments

a(n)=d(n) with n^n = Sum(d(k)*12^k: 0<=d(k)<12, k>=0).

Examples

			n=16, 16^16=18446744073709551616 -> [839365134A210240714], a(16)=3.
a(0)=1, a(k)=0 for 0<k<12 and a(12)=1.
		

Crossrefs

Programs

  • Mathematica
    Join[{1},Table[Mod[Floor[n^n/12^n],12],{n,100}]] (* Harvey P. Dale, Apr 17 2012 *)

Formula

a(n) = floor(n^n / 12^n) mod 12.