%I #7 Jul 29 2017 12:35:45
%S 3,1,1,3,1,1,9,1,3,1,6,1,2,9,2,1,1,1,1,1,9,1,1,3,1,6,1,9,2,1,12,1,3,1,
%T 1,9,1,3,1,1,1,2,9,2,1,1,2,3,1,9,1,1,3,1,3,1,9,2,1,12,1,2,3,1,1,1,3,1,
%U 1,3,1,1,1,1,3,1,1,3,1,1,1,1,1,1,3,3,1,1,7,1,3,3,1,1,1,1,1,1,1,1,2,3,2,1,6
%N If k is a number with exactly two distinct decimal digits, say a and b, neither of which is 0 (i.e., a member of A101594), define the self-complement of k, SC(k), to be the number obtained by replacing a with b and vice versa. Then a(n) = gcd(A101594(n), SC(A101594(n))).
%e 12 is the term corresponding to k = 48 as (48,84) = 1
%e a(7) = gcd(18, 81) = 9.
%Y Cf. A083983, A083984, A083986.
%Y Cf. A101594.
%K base,nonn
%O 0,1
%A _Amarnath Murthy_, May 22 2003
%E Corrected and extended by _David Wasserman_, Dec 07 2004
|