login
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
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,1
EXAMPLE
12 is the term corresponding to k = 48 as (48,84) = 1
a(7) = gcd(18, 81) = 9.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, May 22 2003
EXTENSIONS
Corrected and extended by David Wasserman, Dec 07 2004
Offset corrected by Andrew Howroyd, Sep 29 2024
STATUS
approved