[go: up one dir, main page]

login
Carryless product n X n in base 3.
8

%I #11 Jun 17 2019 15:22:16

%S 0,1,1,9,16,13,9,13,16,81,100,91,144,142,157,117,112,133,81,91,100,

%T 117,133,112,144,157,142,729,784,757,900,961,931,819,877,853,1296,

%U 1369,1333,1278,1249,1237,1413,1381,1456,1053,1117,1099,1008,997,1030,1197,1183,1141

%N Carryless product n X n in base 3.

%H Antti Karttunen, <a href="/A169999/b169999.txt">Table of n, a(n) for n = 0..19682</a>

%H David Applegate, Marc LeBrun and N. J. A. Sloane, <a href="http://neilsloane.com/doc/carry1.pdf">Carryless Arithmetic (I): The Mod 10 Version</a>

%H <a href="/index/Ca#CARRYLESS">Index entries for sequences related to carryless arithmetic</a>

%o (PARI)

%o A325820sq(b, c) = fromdigits(Vec(Pol(digits(b,3))*Pol(digits(c,3)))%3, 3);

%o A169999(n) = A325820sq(n,n); \\ _Antti Karttunen_, Jun 17 2019

%Y Main diagonal of A325820.

%Y For bases 2 through 10 see A000695, A169999, A170985-A170990 and A059729.

%K nonn,base,look

%O 0,4

%A _N. J. A. Sloane_, Aug 29 2010