|
|
A267193
|
|
Complement obverse of n.
|
|
10
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
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).
|
|
LINKS
|
|
|
EXAMPLE
|
The 9's complement of the digits of 980 are 019, so a(980) = 910.
|
|
MAPLE
|
a:= n-> (s-> parse(cat(seq(9-s[i], i=1..nops(s))))
)(convert(n, base, 10)):
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|