A083985 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))).
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, 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, 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
Offset: 1
Examples
12 is the term corresponding to k = 48 as (48,84) = 1 a(7) = gcd(18, 81) = 9.
Extensions
Corrected and extended by David Wasserman, Dec 07 2004
Offset corrected by Andrew Howroyd, Sep 29 2024