login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088152 Value of n-th digit in octal representation of n^n. 8
1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 1, 1, 6, 6, 5, 0, 0, 4, 4, 6, 1, 3, 3, 1, 4, 5, 4, 0, 5, 0, 3, 0, 3, 4, 1, 3, 5, 6, 2, 1, 6, 6, 5, 5, 0, 1, 0, 0, 5, 6, 3, 7, 6, 4, 1, 1, 3, 3, 6, 4, 3, 1, 0, 0, 0, 4, 4, 0, 3, 6, 1, 1, 2, 5, 0, 0, 5, 2, 6, 0, 2, 4, 7, 5, 6, 4, 2, 1, 6, 4, 3, 6, 7, 4, 6, 0, 5, 7, 5, 3, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,10

COMMENTS

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

LINKS

Robert Israel, Table of n, a(n) for n = 0..10000

Eric Weisstein's World of Mathematics, Octal

FORMULA

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

EXAMPLE

n=9, 9^9=387420489 -> '2705710511', '2---------': a(9)=2;

a(0)=1, a(k)=0 for 0<k<8 and a(8)=1.

MAPLE

f:= proc(n) local x, L;

   x:= n &^ n mod 8^(n+1);

   floor(x/8^n)

end proc:

f(0):= 1:

map(f, [$0..101]); # Robert Israel, Sep 19 2019

PROG

(MAGMA) [Floor(n^n/8^n) mod 8:n in [0..101]]; // Marius A. Burtea, Sep 20 2019

CROSSREFS

Cf. A007094, A000312, A088150, A088151, A088153, A088154, A088155, A088156, A088157.

Sequence in context: A187783 A089759 A325970 * A049270 A025269 A265656

Adjacent sequences:  A088149 A088150 A088151 * A088153 A088154 A088155

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, Sep 20 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 03:37 EST 2020. Contains 331133 sequences. (Running on oeis4.)