OFFSET
0,1
COMMENTS
( a(0) + a(1)*6 + a(2)*6^2 + ... )^k = a(0) + a(1)*6 + a(2)*6^2 + ... for each k. Apart from 0 and 1, in base 6 there are only 2 numbers with this property. For the other see A055620.
REFERENCES
V. deGuerre and R. A. Fairbairn, Automorphic numbers, J. Rec. Math., 1 (No. 3, 1968), 173-179.
LINKS
Kenny Lau, Table of n, a(n) for n = 0..9999
V. deGuerre and R. A. Fairbairn, Automorphic numbers, Jnl. Rec. Math., 1 (No. 3, 1968), 173-179
FORMULA
a(n) == 3^(2^n) (mod 6^n). - Robert Dawson, Oct 28 2022
PROG
(Python)
n=10000; res=1-pow((3**n+1)//2, n, 3**n)*2**n
for i in range(n):print(i, res%6); res//=6
# Kenny Lau, Jun 09 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo Dominici (pl.dm(AT)libero.it), May 23 2000
STATUS
approved