cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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))).

Original entry on oeis.org

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

Views

Author

Amarnath Murthy, May 22 2003

Keywords

Examples

			12 is the term corresponding to k = 48 as (48,84) = 1
a(7) = gcd(18, 81) = 9.
		

Crossrefs

Extensions

Corrected and extended by David Wasserman, Dec 07 2004
Offset corrected by Andrew Howroyd, Sep 29 2024