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.

A267193 Complement obverse of n.

Original entry on oeis.org

9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 98, 88, 78, 68, 58, 48, 38, 28, 18, 8, 97, 87, 77, 67, 57, 47, 37, 27, 17, 7, 96, 86, 76, 66, 56, 46, 36, 26, 16, 6, 95, 85, 75, 65, 55, 45, 35, 25, 15, 5, 94, 84, 74, 64, 54, 44, 34, 24, 14, 4, 93, 83, 73, 63, 53, 43, 33, 23, 13
Offset: 0

Views

Author

N. J. A. Sloane, Jan 24 2016

Keywords

Comments

Replace digits of n by their 9's complements, reverse the order, omit any leading zeros.
Suggested by a posting by Mike Stay to the Math Fun Mailing List, Jan 24 2016, which in turn was loosely based on the definition used in logic (see the Philosophy Pages link).

Examples

			The 9's complement of the digits of 980 are 019, so a(980) = 910.
		

Crossrefs

Cf. A061601 (9's complement of n).

Programs

  • Maple
    a:= n-> (s-> parse(cat(seq(9-s[i], i=1..nops(s))))
             )(convert(n, base, 10)):
    seq(a(n), n=0..100);  # Alois P. Heinz, Jan 24 2016

Extensions

More terms from Alois P. Heinz, Jan 24 2016